yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] ct_moi:
Hello,

I've try this week to reducing the windows folder that get a copy of all files that are in others directories, just make that for program files, my documents,

subdirectory of windows (opera9, animated wallpapers and rings).

I've make a zip files for all of that files and put script to make a copy from sdcard, so I win about 13Mo and it's ok.

I put some files on the exclude list and other deleted from initflasfiles.dat or txt.

Is there a best way making that for this result ?

Also want to know if there's change in version 116 from the 112 ?

Best regards
[Windows Mobile] Nixeus:
Hello my Friends,

First i would like to say "thanks" to Barin for releasing this full version :)

It's very very sad that we don't have new rom from htc ( Huashan,Hengshan,

OOBE) :(

I juste have a question, when i go on "Cleanup resource/modules files", i have this :

What doing on the red line please ?

I don't understand this screen :(

Thanks a lot :)

Best regards,

Nixeus
[Windows Mobile] HD2Owner:
just add the files in red (exclusive onenote) to cleanup list.

this way they will stay untouched but get cleaned up by osbuilder during build of rom.

currently beta-testing various new upcoming features to optimize rom even more.

upcoming features are the result of a close cooperation between ultrashot and barin.

ultrashot was/is working on a more advanced version of imgfsfromdump to allow more parameters and features of imgfs creation.

excluding various objects from xpr compression during rom build for example.

awesome possibilities... stay tuned.
[Windows Mobile] Farmer Ted:
Uncompressed modules would be pretty cool. :)
[Windows Mobile] -=Barin=-:
They are :)

Now it's possible to compress/keep uncompressed the whole object, keep uncompressed code and/or RW sections of modules, or compress the .rsrc section only (for module). Some options are available in configuration, and fine tuning is possible in built-in dsm editor (flags U, C and R).

Now i'm waiting for Ultrashot to discuss priorities of processing
[Windows Mobile] Nixeus:
So good Barin ! Sad thaht we don't' have new wm6.5 rom !
[Windows Mobile] AndrewSh:
Believe me -all the new OsBuilder features work pretty nice with older builds too :)
[Windows Mobile] Nixeus:
Yes my friends ! But it's sad that we don't have new builds or rom from htc ( OOBOE, Husahn,Hengshan, in order to having new oem apps,etc....)

It will be so good thaht HTC release a new HD2 phone ( HD2 New gen) on WM6.5.3, with a ****ing good screen, Dual Core cpu, and why not, a physical keyboard....

But....We can dreaming...!(
[Windows Mobile] HD2Owner:
uploading updated hd2 template kitchen v1.1

enjoy, hit the thanks button and please leave a small feedback. thanks
[Windows Mobile] HD2Owner:
uploading template kitchen patch 1.15

-lockscreen issue fixed on 6.5.3

-lockscreen media controls added

-lockscreen slider in middle instead top

-configurations adjusted

-packages.sof/cif adjusted

simply overwrite the files according to structure in kitchen.
[Windows Mobile] -=Barin=-:
New version is ready :)

It includes advanced compression options
[Windows Mobile] HD2Owner:
thanks alot to barin and ultrashot. thread updated.
[Windows Mobile] prabhat:
I love this new kitchen (new for me :))... as I can do my OLD builds for T-Mob Shadow device using WinMo 6.1 Standard ;) which I cant do in my regular kitchen.

Currently I use osKitchen for my Diamond2 ROMs. So looking for any Template Kitchen using 6.5.3 :confused:

Cheers!!!
[Windows Mobile] HD2Owner:
why don't you take a look at my template kitchen (first post)? ;)
[Windows Mobile] Nixeus:
Thanks a lot my friends for this new release :)

Is there a guide in order to explan how optimize the rom with the compressing ?

(which file compressed, or not,etc...)

Osbuilder is very very great, but it's not very very easy to know all the parameters :)

Thanks a lot :)
[Windows Mobile] AndrewSh:
Nixeus, actually now the program level demands careful reading of MSDN

Maybe it's a bit sorrowful but - believe me it's worth it.

The only thing that I can promise - we will play more with our custom settings and possibly later publish personal settings here with brief description. For now - we are still in tests for several days already.....

Hopefully ultrashot will publish his researches.

As for me - I will soon translate the changelog to the version...

Rhiff - you idea 'bout KernelFlags=3 was not good. I checked that config - works ****ty.

I set KernelFlags to 1 and made PP=0 - for Leo it's perfect.
[Windows Mobile] AndrewSh:
The changelog for OS Builder V1.2.124 FULL (28.07.2011)

1. Fixed some minor issues in Complex RGU

2. Added new features in IMGFS assembling - completely redesigned (actually written from scratch) utility for IMGFS assembling (Hats off to ultrashot for that work) .

In the configuration menu: added item "Advanced IMGFS compression options" (with a list of files / modules and additional compression options for sections in modules). Modules / files included in the list – will appear non-compressed in IMGFS. There is also a possibility to search and add all graphic manila files to that list (with signature QTC1)

Building the list - it’s possible to use templates, such as *.png, *.jpg. If someone wants to build a fully uncompressed section, just type *.* in the list.

Additional options of the modules sections compressing allow you not to compress the separate module sections containing code and / or RW sections of all modules, regardless whether they are in the list or not.

It’s also possible to control the compression of files/ modules setting flags U, R and S.

R flag can be used only for the modules. Flags U and C can be used for both modules and files. Flags in dsm have a higher priority than the list of Advanced compression options.

If you set U flag for a file or module in dsm editor, that file or the module will not be compressed in IMGFS not depending upon whether it is in the list or not.

If you set R flag for a module in dsm editor, then only the resource section of this module will be compressed in IMGFS.

If you set C flag for a file or module in dsm editor, the file or module is fully compressed in IMGFS not depending upon whether it is in the list or not.

Setting all flags U, R and C for the same object is not allowed. The built-in dsm editor will return warning.

The flag C has the highest priority among the flags.

3. In the configuration menu: added item " Запрет Demand paging для модулей." – sorrowfully it’s not correctly translated into English – will be fixed later. That means: The prohibition of "Demand paging" feature for modules.

The flag IMAGE_SCN_MEM_NOT_PAGED will be set up to the headers of modules in that list and also it will be set up to the modules with M flag in dsm

Wildcards such as *. exe are allowed in the list.

4. The item "Compress XIP even if it is not compressed in the ROM template." is added to Settings/Build Dump and Rom (reduces rom size for 1,6 Mb)

Guys and gals - sorry for possible misprints or mistakes - too many letters to print :)
[Windows Mobile] ultrashot:
that's what i told him to try because kernelflags=1 haven't worked good for him.
[Windows Mobile] AndrewSh:
No - I suppose he tried 0 and it was weird for him... I mean he got the weird result

But KernelFlags=1 & PP=0 - that sequence is for the moment - the most acceptable for me and Barin (his words in private chat half an hour ago). The rest - can set whatever they want :)
[Windows Mobile] Nixeus:
Thanks a lot AndrewSH , so according to you, for leo, the best is kernel flag to 1 and PP to 0 ?

And what about xip compressing ? What do you advice please ?

Thanks a lot,

Best regards,

Nixeus
[Windows Mobile] AndrewSh:
Nixeus, you should understand that with KernelFlags = 0x00000001 and PP = 0 you will lose your free program memory due to the fact that all IMGFS stuff will be fully loaded to RAM

But you will increase the productivity of the device.

http://msdn.microsoft.com/en-us/library/ms930409.aspx

These settings are good for Leo because it has a hell of free memory.

The XIP compression does not affect on speed or whatever - but reduces rom size for 1,6 Mb. I use it.

If you decompress files and modules in your rom - the size of the rom is dramatically increased. But it also speeds the rom up. So - I would offer to go ahead and start testing new features - you should define your own favorite configuration.

Happy cooking!
[Windows Mobile] illi:
Andrew

Does it mean CFC and png optimiser is not necessary anymore? I did asked for this feature in my earlier post sometime ago.

Thanks very much.
[Windows Mobile] AndrewSh:
illi, actually when system operates with any compressed stuff - it spoils system time to uncompress and page file.

Concerning png optimizer - as far as I understand - it does not compress files. All my png in IMGFS are optimized.

Concerning CFC - I use it.

Barin & ultrashot recommend to uncompress all pictures in IMGFS. I tried that but the productivity did not grow up so high and I decided to cancel that feature.

I uncompress only several dlls and executables such as gwes, manila.exe, shell32 and some other. So as RW sections - I uncompress them all.

You should try your own rom - the best sequence is an individual matter.
[Windows Mobile] illi:
Nice advise Andrew. I'll play around & try to optimise my ROM.

Thanks:)

Edit: Should/how can the "Empty sectors" be tackled?

Building IMGFS partition file (XPR)...Ok

Compression - XPR

Boot sector size - 0x0800

Empty sectors - 53 (106 Kb)

Thanks
[Windows Mobile] Nixeus:
Thanks a lot AndrewSh for your advices,

Best regards,

Nixeus
[Windows Mobile] AndrewSh:
No need to do anything with empty sectors - it's just the report. No action required.
[Windows Mobile] Nixeus:
Hello my friend,

Sorry for this noob question but i don't know how to compress and uncompress file on OsBuilder.

Thanks a lot,

Best regards,

Nixeus
[Windows Mobile] HD2Owner:
by default, everything gets xpr compressed in imgfs.

there is a list where you can add files to keep uncompressed.

your rom size will increase but it will speedup the rom.
[Windows Mobile] Nixeus:
Ok thanks a lot, but i don't find this list in OsBuilder, where is it please ?

It's possible to uncompress modules ?

Thanks a lot
[Windows Mobile] HD2Owner:
well..... :D

info from changelog:

Added new features in IMGFS assembling - completely redesigned (actually written from scratch) utility for IMGFS assembling (Hats off to ultrashot for that work) .

In the configuration menu: added item "Advanced IMGFS compression options" (with a list of files / modules and additional compression options for sections in modules). Modules / files included in the list – will appear non-compressed in IMGFS. There is also a possibility to search and add all graphic manila files to that list (with signature QTC1)

Building the list - it’s possible to use templates, such as *.png, *.jpg. If someone wants to build a fully uncompressed section, just type *.* in the list.

Additional options of the modules sections compressing allow you not to compress the separate module sections containing code and / or RW sections of all modules, regardless whether they are in the list or not.

It’s also possible to control the compression of files/ modules setting flags U, R and S.

R flag can be used only for the modules. Flags U and C can be used for both modules and files. Flags in dsm have a higher priority than the list of Advanced compression options.

If you set U flag for a file or module in dsm editor, that file or the module will not be compressed in IMGFS not depending upon whether it is in the list or not.

If you set R flag for a module in dsm editor, then only the resource section of this module will be compressed in IMGFS.

If you set C flag for a file or module in dsm editor, the file or module is fully compressed in IMGFS not depending upon whether it is in the list or not.

Setting all flags U, R and C for the same object is not allowed. The built-in dsm editor will return warning.

The flag C has the highest priority among the flags.
[Windows Mobile] Nixeus:
WooW ! I didn't see this button !!!

So, i have added to the list :

shell32.dll

Manila.exe

Gwes.exe

And all the manila picture.

Have you some other advice for the file to uncompress please ? :)

Thanks a lot,

Best regards :)
[Windows Mobile] HD2Owner:
we are currently testing various objects. we will publish a list later.

you have a good selection of most important ones already (btw shell32 is a exe and not a dll.. ;)).

to test speed, you could just add *.* to the list (to add everything).
[Windows Mobile] _Madmatt:
Thanks! (What a shame I had not tried to extract the EXE :o)
[Windows Mobile] _Madmatt:
Okay I did it :) But now when I opened it up in the kitchen (File => Open folder), after a while I can see that LZX and XPH compression is not supported. But however, in osKitchen I have used LZX compression without problems on the same ROM (stock HD Mini ROM).

Will I brick my device with using the "unsupported" LZX compression? Or should I use XPH or the default (and supported) XPR?
[Windows Mobile] HD2Owner:
my advice -> XPR
[Windows Mobile] HD2Owner:
you mean this:

XIP (cecompr.dll):

XPR: is supported

LZX: is not supported

XPH: is not supported

barin told me:

these strings mean that cecompr.dll in XIP support only XPR compression. You should change it for support other compression types

you can change the library during xip building - there is an option in xip settings
[Windows Mobile] Nixeus:
Is there any real advantages to use osbuilder instead of kitchen based form PlateformeRebuilder ( instead OsKitchen zero).

Thanks a lot,

regards,

Nixeus
[Windows Mobile] HD2Owner:
take a look at all the screenshots i made (first posts).

many nice features. for example:

-registry preview with detailed infos about the keys and wich rgu/provxml is editing value.

-editor for packages.sof/cif

just dump a rom and give it a try. you won't be disappointed... ;)
[Windows Mobile] mwalt2:
Yes, this kitchen won't crash if you don't recmod certain things from dumped roms (like NTFConfig.dll, which causes all platform rebuilder kitchen to crash in my experience). There is also much more control over everything and you can have it set up to modify/exclude files while creating the ROM so your base kitchen stays the same (like if you want to turn a file into a module). It takes some learning, but it's the best kitchen I've used.
[Windows Mobile] AndrewSh:
LZX is not "unsupported". But to use it you should use cecompr.dll which supports that type of compression. Just put that dll wherever you want (in the kitchen folder) and define the path to it in Settings/XIP (second line from the bottom).

After that you can use LZX compression with predefined cecompr.dll

The default one from your OEMXIPKernel does not support anything but XPR.

I wanna underline that LZX compression reduces the rom image size but the device will run slower than with XPR.

LZX is useful for devices with small flash size and absolutely useless for HD2.

Example - when I make rom for Asus P525 - I for sure use LZX, but when I cook for Leo - I use XPR.

If you're interested in LZX - notify - I will attach the dll over here
[Windows Mobile] _Madmatt:
No thanks! If LZX makes my device slower, then I won't use it ;) HD Mini has 512Mb ROM so that should definately be enough :)

One more question: in osKitchen I can disable some packages to not include it in the ROM. In this kitchen, should I just delete the folder in Windows Explorer?

And last but nnnot least, what about the file and registry previews? It says "Not available in public version.", however this seems a very nice feature to me :)
[Windows Mobile] AndrewSh:
If you configured your kitchen according to the author's manual and videos - normally all your packages are displayed in the left tab. When you click the 5-th button in the menu shortcuts line (Show/hide other packages) your OsBilder screen is splitted to three tabs - left - bunched packages (dragged from the middle tab), middle tab - unbunched packages (you have them visible when you define the folders with SYS, OEM etc when you first open your kitchen or when you add some new packages to your SYS/OEM folders) and right tab with all the information.

You can operate with including/excluding packages to your rom only in the left tab - when your packages are bunched. (dragged and dropped to the left tab from the middle tab).

All the packages in the middle tab (unbunched) will be included into your rom. But you can for sure simply delete them physically in explorer to exclude. It's not so flexible as bunching them for the case you want later to use them. But it's up to you.

Here I can not help :) I use the full version. And for sure registry and file preview is very convenient and useful feature.

How to get the full version - you better write PM to Barin :)
[Windows Mobile] Nixeus:
Hummm so, i will try to use this kitchen for my next build for my HD2 French rom !

Hope that i will have best performance comparing os kitchen zero which provides best performances for xip inserting,etc...
[Windows Mobile] c_shekhar:
Thanks a lot.............
[Windows Mobile] Skrobel:
Guys, I really suggest you should give this great Kitchen System a try.

The registry preview, editing of almost all the files directly from the kitchen, file/text search tool, tremendous XIP porting/optimizing tools are only some of the great advantages over prb kitchens.

I'm a rookie if it comes to cooking, but I already managed to build a ROM for Rhodium based very much on the stock packages from 2.07 ROM, which can do multitasking almost like Jackos ROMs (please look at the attachment)!

And it almost doesn't leak memory! Great!

I have some problems with running multibuild feature, so now I have to exchange builds manually porting them one by one. I don't want to double posts so perhaps you guys would take a look in my posts on mobileunderground:

http://www.mobileunderground.info/showthread.php?t=12348&p=71699#post71699

I know I'm doing something wrong, but I'm not sure what...
[Windows Mobile] _Madmatt:
Problem with that :( If I drag and drop a file I get that "Forbidden" cursor, and so I can't drag 'n drop...
[Windows Mobile] HD2Owner:
you should watch the tutorial videos and read the readme first.

if you still can't get it working, ask specific questions here.

also posting a screenshot of the error and describe how to reproduce it would be useful.
[Windows Mobile] _Madmatt:
This is the problem ;) I don't have anything in the left panel. So I can't drag and drop something into it. In the manual there are much folders and so on in it...
[Windows Mobile] HD2Owner:
first you have to create a folder on the left side before you are able to drag something there from the middle window (right click -> move to ... is also possible)
[Windows Mobile] ultrashot:
_Madmatt, make a root folder (third toolbar button).
[Windows Mobile] _Madmatt:
Yup, I found it :) But one more question (O, what a shame) the checked boxes on the left panel will be built in the ROM too?
[Windows Mobile] HD2Owner:
all from the middle window will be included.

on the left window, you define what has to be left out or replaced (see video tutorial, sqm mini, fwupdate mini). that simple..
[Windows Mobile] Nixeus:
A thanks a lot :)

And, what is the best, PP=0 with kernelflags=1 or PP=0xFFFFFFF ?
[Windows Mobile] HD2Owner:
i would recommend not to play with those.

andrew/ultrashot like this function (kernelflags=1; pp0) but i have problems in my rom.

so i recommend kernelflags unchecked (default=2 on leo) and pagepool 20mb.
[Windows Mobile] Nixeus:
I will try with this :)
[Windows Mobile] Nixeus:
Hello,

What mean this yellow line please ? It's a problem ?

Thanks a lot,

regards,

Nixeus
[Windows Mobile] lcd4linux:
It means, you have select compress xip.

lcd4linux
[Windows Mobile] ultrashot:
Remember, CE5 doesn't differ PP=0 from PP=0xFFFFFFFF. There is a code like this:

if (PP == 0xFFFFFFFF)
PP = 0;
[Windows Mobile] Farmer Ted:
AndrewSh's pp/kernel flag tweak is working great on my fuze. I still have 148 M of RAM at boot, which is plenty; normally, I have 163 M w/ a 12 MB pp.

The uncompressed flag is also working great. My 6.5 lockscreen works much quicker with all the files, modules, and dependencies uncompressed. Also, BN Ereader loads noticeably faster. I've got all the system processes uncompressed, as well as the custom ones I run at boot. I set wildcards so all png and ttf files are uncompressed as well.
[Windows Mobile] Nixeus:
I have compressed too Opera.exe and OperaL.exe

*.ttf, *.png, *.bmp, *.jpg !

Try with PP=0 and kernelflag to 1 : Big problems !! :(
[Windows Mobile] -=Barin=-:
These values were tested by AndrewSh and me on HD2, but not on other devices.

Info about KernelFlags can be found at http://msdn.microsoft.com/en-US/library/ee479089(v=WinEmbedded.60)

2 All

I've tried to play with FSRamPercent value yesterday.

So the default value for HD2 (0x00000004) is perfect. If the value is increased file system becomes slower. I've tried different values up to 12,5% (60Mb)

Info about FSRamPercent can be found at http://msdn.microsoft.com/en-us/library/ee479036(winembedded.60).aspx
[Windows Mobile] ultrashot:
kernelflags=1 is okay on x1 but dialer and videoplayback don't work - perhaps just not enough memory.
[Windows Mobile] caliban2:
playing with compression speeds things up quite a bit on my rom! nice feature. :)

couldn't notice any great improvement with png, bmp etc, so i let them compress again.

current list:

*.dll

*.mui

manila image-files

sys-exe's (process-list in dotfred's tskmgr)

a few exe from apps i cook (opera, gmaps etc - just for fun though)

don't compress code & rw-sections are checked (probably redundant?)

this left me with a rom-file ~60mb larger than before, but it's worth it. :)

next step maybe will be sorting out which dll & mui are always loaded and which just when the program runs.

didn't play with kernelflags, but from what i read here it's not worth it on the x1. (pp=20, kernelflags=0)
[Windows Mobile] Nixeus:
And maybe it could be a good thing to uncompress OEMDRIVER and OEMHIGHDRIVERS folders, no ?
[Windows Mobile] afeng11:
Error: Error building IMGFS. Check ImgfsLog.txt

Exit code=14 [APP_ERROR_FILE_CACHING]

Error! Caching "C:\Documents and Settings\Administrator\M480_WM65_OSBuilder_Kitchen\Temp\Dump\d726fef1-c84d-40f5-9010-07a6a3fd70a7.dsm" failed

I'm using osbulider ver 1.2.124

how to solve this problem?thanks
[Windows Mobile] Farmer Ted:
I'm not sure drivers would be worth it. You might get faster reboot times, but the drivers are all loaded into RAM at startup, so having them uncompressed won't matter a whole lot.

Bitmaps can't be compressed, can they? I don't think putting them on the list will help.
[Windows Mobile] CRACING:
Hello guys,

I have a lil major problem on my ROM which I built on OsBuilder. Debugging since many days but still couldn't find out what is causing.

Problem is, cannot create new email or read email. Window doesn't open when new is pressed in menu. Same problem when an existing email is tried to open. The list of emails (inbox, outbox, sent items) shows fine though.

I suppose there is no problem with my kitchen files coz if I use same files on osKitchen, I won't face such problems.

Please help. :|

Thanks a lot...

Best Regards
[Windows Mobile] AndrewSh:
Looks like you were editing or reading a file and forgot to close it before starting to create IMGFS

ultrashot (the utility author) says that either file can not be opened, or it's not enough memory. Would be nice to see your ImgfsLog.txt.

Anyway - you should check the kitchen - maybe build order - maybe anything else - I never cooked with osKitchen - I use only OSBuilder. I've never faced such problem - everything works either from MS Messaging, or from Sense tab (HTC Messaging).
[Windows Mobile] caliban2:
isn't that classic "something's wrong with webview.dll"?

check your lists (autosigning, apply shared flag etc) - if it's in one of them, remove it and try again.

(had the same problem yesterday and i think it doesn't like shared flag - didn't really test it though, was getting late and i reverted to a working rom-version)