yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] Nixeus:
Thanks a lot for your answer.

I have recmodded my EXE and MUI files.

I have to 20 000kb free

Here is my slot0 :

01480000 ------------------ START: Slot 0 IMGFS Low
01480000-01490000 L00010000 HTCFlashlightLib.dll
01490000-014A0000 L00010000 SkyCommandListener.dll
014A0000-014B0000 L00010000 MyPhoneService.dll
014B0000-014C0000 L00010000 NUL
014C0000-01510000 L00050000 MyPhonePimgExt.dll
01510000-01530000 L00020000 MyPhoneInstall.dll
01530000-01540000 L00010000 NUL
01540000-01560000 L00020000 lap_sky.dll
01560000-01590000 L00030000 NUL
01590000-015A0000 L00010000 custsat.dll
015A0000-015D0000 L00030000 taskservice.dll
015D0000-015E0000 L00010000 GPSPrivacy.dll.040C.mui
015E0000-015F0000 L00010000 HTCUSBToPCSrv.dll
015F0000-018E0000 L002F0000 mode9.dll
018E0000-018F0000 L00010000 ManilaToday.dll
018F0000-01910000 L00020000 ManilaDesktop.dll
01910000-01940000 L00030000 lua.dll
01940000 ------------------ END: Slot 0 IMGFS Low

What is the NUL ? How delete them?

Thanks :)
[Windows Mobile] Farmer Ted:
Null is wasted space; I guess try checking the box to remove the dll gap in slot 0. I'm not sure that will help there, though.

Your modules are complete, aren't they? They're not from a custom (protected) rom, are they?

You still need to get rid of those modules in slot 0. I guess you need to re-file more of them. They're eating up almost 5 MB of virtual memory, which is a lot. You probably only have ~20-22 MB free in slot 0, which isn't enough, especially if you load an .exe that has some big dll files. It will probably crash or be unstable.
[Windows Mobile] Nixeus:
These modules are in SLOT0, but, is there a way to move them in another slot whitout recmodded them ?

Yes, the checkbox are checked for the gap.dll and my packages comes from Stock rom ;-)
[Windows Mobile] AndrewSh:
How to delete? Nice question :) The way is to reversmode that file:)

Looks like a circle? Read something about sharing RW sections.
[Windows Mobile] -=Barin=-:
dll gap is 256Kb space between XIP and IMGFS bounds. Usually it's reserved in stock ROMs. But NUL spaces in slot 0 appears if size of module is not multiple 64К (thanks to MS memory model)
[Windows Mobile] Nixeus:
Mmmm ok :)

I will read about RW section !

Barin, you kitchen is very a great tool !

It's not easy to know all tweak and parameters in order to going a good rom ( checkbox,etc...) but it's a great work !

Thanks a lot to keeping the Windows Mobile cooking live !

And sorry for my English :)
[Windows Mobile] ultrashot:
First thing to do is recmodding (you should get no modules in slot 0 (LOW) at all)

Then use rpack to decrease size of resource-only libraries and mostly MUIs - after that they won't eat slot 0 space at all.

Get bootable and working rom with good slot 0 free amount value.

Use DevHealthAnalyzer (lol, tired of promoting this tool) with dumpmap.txt and devhealth (mem_%num%.txt) report. Take a look at green blocks - if module isn't loaded at all (all module blocks are green), feel free to recmod it. The most interesting blocks are white ones on the top - you must reversmod little libraries that consume 64KB of memory due to VM align. That's funny, but little libraries are the biggest contributors to VM.

RW sharing is the last thing to do.
[Windows Mobile] Nixeus:
Thanks for your advice, i will see it ! :)
[Windows Mobile] AndrewSh:
But this **** really works! Thanx, dude, one more time! :)
[Windows Mobile] Nixeus:
I haved use Rpack, and it's a great tool :)

Thanks for this tool ! I will use now the DevHealthAnalyser !
[Windows Mobile] Nixeus:
It will be a godd thing thaht barin add the rpack to the cooking process, in order to reduce all the *.mui files.

If you want, i can make a tool based on Rpack that optimize all the *MUI files on a folder ( with sub directories).
[Windows Mobile] ultrashot:
Nixeus, OSB Full has RW sharing and resources cleanup lists.
[Windows Mobile] Nixeus:
I have used Devanalyser.

I have a report with a lot of NULL section.

If i understand,i need to reversmod the dll with NULL.

But, with reversing,SLOT 0 L is not free...

SO i think i need to use the RW section right ?

I will PM barin in order to having the FULL version.
[Windows Mobile] ultrashot:
reversmodding will remove NULL blocks, so you will get more space in reality but less space according to OSB.
[Windows Mobile] Nixeus:
After my first DevHealthAnalyser :

Office.dll have all the block NULL.

SO, i reversmod them.

After the flash, i re run a DevAnalyser, and Office.dll has all their block green, so it's safe to recmod them...

So, where is the truth?

Thanks a lot,

regards,

Nixeus
[Windows Mobile] ultrashot:
Better to make devhealth report right after reboot to ensure nothing else is loaded. office.dll is ok to be recmodded since it is rarely used.

//oh, too much offtopic for osb thread :)
[Windows Mobile] Nixeus:
Hello,

I have wrote a PM to Barin in order to ask them a full version of this great kitchen.

I need to use the RW section sharing :)

Thanks a lot,

regards,

Nixeus
[Windows Mobile] Nixeus:
Hello my friends

Juste an interrogation :

So, if i create new modules, i need to use the Built-in Reloc engine ?

IS it true ?

If i create my own OEM package ( for an apps in c++ for example), and i reversmode my exe file, will be it ok ? Or need i to use the buil-in reloc engine ?

I'm sorry for this question, but i don't understant how making good modules...

Thanks a lot,

regards,

Nixeus
[Windows Mobile] tobbbie:
Well, I am no expert in creating modules, but the tool which achieve to split PE into components will always create a .reloc section anyway. All executables must have such a .reloc section because otherwise the module could not be loaded dynamically by the OS.

Relocation is a mandatory step in the production process after modules have been added - no matter which kitchen you are using. If you use OSBuilder there is no reason NOT to use the built in relocation engine.

Finally I think there is no option to make good or bad modules as you have no influence on that. I have read that not all elements that exist (and work) as modules will still work after they were converted to files (dynamic allocation by OS). I am not sure if all elements working as files can successfully be converted to modules, but I think there may be exceptions as well.
[Windows Mobile] Nixeus:
Hi and thanks for your answer,

Barin said that " Built-in Reloc engine in full version ", so this built in engin is only in the full version ?
[Windows Mobile] tobbbie:
No, the engine is there in any version. The full version can just deal with excluding certain modules from relocation (for whatever purpose). The second part is the crucial one in his sentence "Built-in Reloc engine in full version can cover this situation but only if your module does not break memory model rules"

This was due to an old module (wm2k3) was part of a WM6 build and could not be relocated as the location where its components were mapped were contradicting "memory model rules".

No need to bother for you.
[Windows Mobile] Nixeus:
OK, so if i create module, i just need to correcting the dsm , it's true ?

Thanks a lot,

regards,

Nixeus
[Windows Mobile] Farmer Ted:
Yeah, do the dsm correction (it may happen anyway during cooking, though). And use the built-in engine, it works very well. I'm not really sure what the benefits of converting an exe to a module are; I tend to think there are few, if any, although I usually do it myself. I'm not even sure that the reloc engine touches exe's. I suspect that the only reason microsoft uses so many, for really trivial exes in a lot of cases, is just because it makes it hard to copy the exe file and use it on another device.

I mean, seriously, who the hell cares if solitaire's exe is a module? All I can figure is that MS does it as a way to lock it into the device.
[Windows Mobile] tobbbie:
Well, this module vs. file should be discussed and finally summarized someplace. I have read articles by Da_G and others at MSDN but still have not fully understood the pros and cons of each.

With giant memory and fast CPUs most newer devices would not show a difference anyway. For my old Tornado (or even older Typhoon with half the memory) such optimization may be useful but guesswork and trial and error will not succeed.
[Windows Mobile] -=Barin=-:
dsm's are rebuilt automatically during build process according to package content (preprocessing and postprocessing stages). Original dsms stay unchanged, but you'll get dsms with correct MFE (files or modules) in your rom.
[Windows Mobile] HD2Owner:
maybe i will release a osb leo template kitchen with many languages included.

are you intrested in this?
[Windows Mobile] Farmer Ted:
Yeah, you might as well. Some day (like 2 years from now, lol) I might get an hd2, and I know it would make my life easier to have a kitchen to reference. Especially if you have it set up so you can cook it w/o sense/manila. I dumped the TMO-USA Leo rom a few weeks ago, and there are a ton of manila and manila related packages in there (it's shocking the amount of bloatware HTC added, imo). I'd love to know what I can just delete.
[Windows Mobile] Nixeus:
And a guide about how using DevHealthAnalyser in order to make a ****ing good optimized rom will be very very useful :)
[Windows Mobile] HD2Owner:
better ask ultrashot in devhealth analyzer thread about a tutorial.

actually you can make things worse if you "optimize" too much.

split l-modules is by far the most important setting for optimized rom in osbuilder.
[Windows Mobile] HD2Owner:
v1.2.111 info added to first post (changelog).

i will upload it tomorrow.

can't download from asusmobile.ru so i have to ask barin/andrew to send it to me.

full version 1.2.112 i already received from barin. thanks alot.
[Windows Mobile] jmart518:
Thanks Barin for the update and Happy Birthday! Also, thank you HD2Owner for the heads up, I should check my email more often :).
[Windows Mobile] AndrewSh:
New version is kinda anniversary one :)

Barin, buddy!!!

Happy Birthday to you!!!

Everyone can leave greetings to OsBuilder author here: http://asusmobile.ru/board/viewtopic.php?t=23772
[Windows Mobile] illi:
The Czar Of ROM Cooking

Hi Barin

Happy Birthday wishes to you

Being your Birthday, I now bestow upon you the title of

Barin, The Czar of ROM Cooking:cool:​
[Windows Mobile] HD2Owner:
osbuilder 1.2.111-LE now online (first post).

again on this way:

happy birthday barin. best wishes from switzerland.
[Windows Mobile] Skrobel:
Happy Birthday from Poland as well :)
[Windows Mobile] Jackos:
Best wishes from Germany :)
[Windows Mobile] -=Barin=-:
Thanks guys!!!
[Windows Mobile] HD2Owner:
i just love this kitchen... what about a multilang leo template kitchen for osbuilder?

are you guys intrested (not many answers last time i asked)?
[Windows Mobile] ct_moi:
Hi,

For sure it'll be nice to share your work, I've finaly found an hd2 for my son, so now playing with his old blackstone, but now all family get an hd2 so it'll be nice if I can optimize the rom's.

TU -
[Windows Mobile] dany547:
hmm,very nice! with this app can i build ROM's lets say for a 96DPI kaiser? i'ed tested it,but i don't know how to generate the XIP from the packages :-s... MSXIPKernel and MSXIPKernelLTK
[Windows Mobile] ultrashot:
Settings->XIP->Port->MS XIP: Packages in DONOR folder?

Folder structure:

\Donor\%build%\MSXIPKernel

\Donor\%build%\MSXIPKernelLTK

similar for oemxip.
[Windows Mobile] dany547:
i did this...but thanks anyway
[Windows Mobile] HD2Owner:
if you use this build dependent xip structure that ultrahot mentioned,

the xip will be created by osbuilder during cooking.

if you do it like ultrashot described it, where is the problem?
[Windows Mobile] dany547:
the kitchen is building with the wm 6.1 kernel,not the 6.5 that i put in the Dump folder! and i'ed selected those options
[Windows Mobile] HD2Owner:
in the right status window, you will still see 6.1 kernel because that's the base (ignore this!).

but if you added sys and donor folders and select the correct sys it will work.

the structure again:

Dump/Donor/21913/MSXIPKernel

Dump/Donor/21913/MSXIPKernelLTK

Dump/SYS/SYS_21913/.ROM

Dump/SYS/SYS_21913/.VM

Dump/SYS/SYS_21913/AdobeFlash

etc..

and like ultrashot said:

Settings->XIP->Port->MS XIP: Packages in DONOR folder

oh.. and rename the sys you originally dumped (6.1) to build number according to mentioned above.

then you will have a selection dropdown window between builds in osbuilder.

your 6.1 should be renamed to this:

Dump/SYS/SYS_21054/.ROM

Dump/SYS/SYS_21054/.VM

Dump/SYS/SYS_21054/AdobeFlash

etc..

just use the correct 6.1 build number (i used 21054 as placeholder).

ignore the xip folder and leave it untouched.
[Windows Mobile] dany547:
hm...i will try it now
[Windows Mobile] Farmer Ted:
When I started using this kitchen, I downloaded Indagroove's kitchen (@ mobileundergound) and just used his to copy all the folder structures so I got it mostly right at the start. I'd suggest just grabbing someone else's kitchen and comparing to how yours is set up. The donor folders and rom folders were a little confusing for me.
[Windows Mobile] HD2Owner:
ultrashot's x1 dynamics kitchen is also worth a look.

will work on template kitchen for y'all.

edit:

osbuilder template kitchen is prepared now (my hd2o kitchen +3h of work).

i removed some apps/tweaks and restructured/reworked configs. kitchen features 14 languages.

if you release roms based on this template -> give me credits and mention the base you are using!

upload at 15% of 290mb. will be online in around 1.5h
[Windows Mobile] OmenosTM:
thanks for sharing !
[Windows Mobile] mattanur:
I am using HTC GENE P3400i which is a tiny device with 64 Mb ram, OMAP 850 201 Mhz with 128 MB flash size. I have cooked with both EVK and OSKitchen with good results. I just wanted to try this kitchen. I dumped my backed up of original Rom and the dumping process was smooth without any errors. I test cooked the same without any changes and the rom was built. On flashing I get update error stating the image file is corrupt, and the phone boots back. What may be the cause?

Thanks in advance.
[Windows Mobile] Farmer Ted:
Most likely a bad xip.
[Windows Mobile] -=Barin=-:
2 All

Enjoy the full version (no more LE) :)
[Windows Mobile] Skrobel:
Hello Barin,

Thanks! But... what happened? Do you plan to stop developing this awesome kitchen? Moving to another platform maybe?
[Windows Mobile] HD2Owner:
thanks alot barin. first post updated. also wondering what happened... :confused:
[Windows Mobile] illi:
Thanks alot Barin and good luck in whatever you do next.
[Windows Mobile] AndrewSh:
Let me explain what is going on..... Barin simply wants to stimulate further development of custom roms, making all features available for everyone. We discussed that just today....

Actually - the same reason was sharing the latest build (by me) :)
[Windows Mobile] illi:
Thanks to you too SH.
[Windows Mobile] -W_O_L_F-:
Error

I've installed last version (full) of OSBuilder, but I have the same error: while writing initflashfiles.dat it says something about dictinary and crashes. I had this error on 1.2.107 LE too. :(
[Windows Mobile] HD2Owner:
the cause is probably that you edited initflashes.dat with notepad (replaces header).

better use a advanced editor that keeps initflashes.dat header intact (like beyondcompare for example).

no problems for me. just cooked a rom with latest version.

nice, thanks. i like this philosophy. xda is all about sharing knowledge and latest builds/tools/stuff. fits perfectly.

i hope y'all enjoy the fullversion of barin's awesome kitchen.
[Windows Mobile] Skrobel:
Woow... honestly didn't expect it. But indeed it's an excelent point of view! Let's not let WinMo die! :D

Cheers to you all!
[Windows Mobile] Farmer Ted:
Yeah, as HD2Owner said, you need a better editor. I use notepad2, but you can also just edit the .dat file normally w/ notepad, the delete the first byte of the file with a hex editor. It adds a 'ye' or something like that to the first line when you just use notepad. You want the first byte to be a semi-colon, so you can just copy a semi-colon over the 'ye'.

But, it's easier to just set notepad2 as your editor in the kitchen.
[Windows Mobile] AndrewSh:
If you really want to get the answer here - just upload your faulty initflashfiles - I will check it.

But I suppose - it's more convenient for you to ask Barin or someone else in your native tongue straight at this thread

If you prefer to solve problems here in English - it's up to you. Then - upload your file...
[Windows Mobile] erickwill:
Thanks my friend! Hope you are going good!
[Windows Mobile] HD2Owner:
any questions about the template kitchen?

i would like to know about your cooking experiences and get some feedback.... :cool:

notes about template kitchen added to first post.
[Windows Mobile] -W_O_L_F-:
I didn't edit this file. And... it's empty.
[Windows Mobile] HD2Owner:
dump the same source rom with prb based kitchen and copy the file into your osbuilder kitchen (OEM/OEM_Lang_0XXX).

may i ask you, where the initflashes.dat is located in your osbuilder dump structure?
[Windows Mobile] -W_O_L_F-:
May be it's because I've dumped source ROM w/o OSBuilder? OSBuilder dumps it incorrectly. All packages are named dsm-like and there is no package Metadata.

Now I've copied initflashfiles.dat from OSBuilder incorrect dump to dump I'm working on (into ROM/XIP/MSXipKernel). OSBuilder now sees it, and it can be edited, but OSBuilder still crashes with the same message. initflashfiles.dat in dump/temp/dump is empty
[Windows Mobile] -=Barin=-:
Вы wm5 что ли дампите? Или кастом чей-то?
[Windows Mobile] -W_O_L_F-:
wm5.

Эту проблему я уже решил. Прекинул Initflashfiles.dat в SYS\LangDB.

Теперь возникла новая. Выдаёт "An entry with the same key already exists" в конце релокации модулей. Даже если там только Metadata и LangDB (т.е. 0 модулей).
[Windows Mobile] AndrewSh:
Guys, I like Russian conversations but they are not appreciated here... Because everyone wants to get the sence....

So, translation of two last posts to all:

Barin: Are you trying to dump WM5? Or someone's custom?

-W_O_L_F-: WM5. Initflashfiles problem is solved - I just moved it to SYS\LangDB.

But I got another problem. I get the message "An entry with the same key already exists" at the end of reloc process. Even if it's only Metadata and LangDB (i.е. 0 modules).
[Windows Mobile] CRACING:
Hello guys,

Just saw this thread and full version as out for public. Thanks a lot all you ppl.

I'm so glad. Hopefully it has relocation of modules feature enabled (sharing modules).

Thanks...

Best Regards
[Windows Mobile] mattanur:
After building the rom and flashing, I get this notifiction after the first boot and evey successive reboots:

"Do you want to format this storage card to make it readable?This will permanently delete any files on the card".

If I press OK it will read: "This storage card cannot be formatted. Try reinserting the card or using a different one".

This notification comes even without the card in the slot and with every build. The funny thing is that the card works without any problem.This is not happening in the EVK. How can I disable this annoying error message? I cooked for my HTC GENE.
[Windows Mobile] adam0010:
thank you~！
[Windows Mobile] Farmer Ted:
I sincerely doubt the kitchen is to blame; it's usually the cook's fault, lol. Did you include any Leo packages, especially maybe a new driver? I thought that the Leo had some sd formatting options. I would try to figure out what new files (if any) are in this build.

There are advanced options for personal info, but I doubt there's anything for sd formatting.
[Windows Mobile] mattanur:
Thank u Farmer for the quick reply. FYI I simply dumped the original Rom and cooked back using this kitchen. I did not add any package from anywhere. I do not have this issue with EVK, that is why I wonder from where this error message comes.
[Windows Mobile] Farmer Ted:
Weird; I guess you should check the customization queue, and see if there's something in there that asks about sd formatting.
[Windows Mobile] CRACING:
Hello guys,

I'm new to this kitchen. Was using Oskitchen earlier.

When I build a ROM in this OsBuilder, Runcc doesn't work. I mean it gives error upon installing cabs, xmls and etc (i.e Install abcd.cab failed ). And also I guess provxml isn't imported as well. No idea why its happening. I have used same packages from my OsKitchen and sorted as per OsBuilder requirements. Of course, the kitchen has lots of options but I have corrected as per my knowledge.

Any idea what could be causing?

Another issue is about cab files not installing. When opened, no dialog or error msg opens. I guess this issue is something related to runcc issue also.

Please help. :o

Thanks...

Best Regards
[Windows Mobile] mac_es:
I had this issue when the files mxip*.vol didn't have the correct attributes... (HSR)
[Windows Mobile] CRACING:
Thanks. Now I suppose it solves my problem. :)

I guess OSKitchen does this while building but OSBuilder doesn't.

Any idea how can I enable this in the kitchen while building?

Edit: Still same issue. :(

Runcc gives error while install cabs, xmls and etc :confused:

Thanks...

Best Regards
[Windows Mobile] mac_es:
I had this issue in EVK, and the effects were the same as yours. Concretly it was in the SYS dump, mxip_system.vol didn't have +S attribute.

Since I put the correct attributes in the batch file for cooking I haven't faced this problem.

this is the snap of the code added:

attrib .\dump\mxip*.vol +h +s +r >nul 2>nul
attrib .\dump\*.dsm +h +s +r >nul 2>nul
attrib .\dump\*.rgu +h +s +r >nul 2>nul
attrib .\dump\*.provxml -h +s +r +a >nul 2>nul

check your file permissions...
[Windows Mobile] CRACING:
Did everything but still same.

If I use ROM (XIP) and SYS from stock, the issue isn't present so debugging where its causing.

Edit: is it because of missing .ROM and .VM in SYS?
[Windows Mobile] ultrashot:
OSBuilder doesn't require .ROM and .VM.
[Windows Mobile] CRACING:
Yeah still same issue after using those. Still digging out by one by one packages in OEM.

BTW; vm issue I had in oskitchen is solved after using this kitchen. I'm more excited to use this kitchen insterd. :)

Wonderful creations!

Thanks...

Best Regards
[Windows Mobile] Farmer Ted:
Did you forget to cook in NET? I've heard cabs won't install properly w/o it.
[Windows Mobile] ultrashot:
Don't worry, OSBuilder changes attributes itself.

Try to preview registry (With provxml preview, too! Check that in settings), it will show registry/provxml errors.

PRB-based kitchens have a lot of problems with provxml importing, OSB definetely doesn't have them at all.
[Windows Mobile] CRACING:
No problem with SYS since if I use stock OEM folder, cabs install fine.

Oh thats g8.

Checked everything. No error msgs or exclamation marks. Everything seems ok. :confused:

I have copied same files from OSK. Of course, ext packages had to be converted to oems using tool called "Ext to PPCk".

Edit: Ok finally found after hundreds of flashes. Something like mac_es said, it was mxip_notify.vol. I was using patched mxip_notify.vol in my dummy package and it replacing the default one on SYS. Its used to removed call to CEIPUI.exe and was found inhere. So far I donn't had any issues using it in OSK.

Even I tried to change its attrib like mac_es said but had same issue. Today I excluded it while building and the issue with cab disappeared.

Do you know if its really useful or can go without it?

Thanks a lot for all your contributions...

Best Regards
[Windows Mobile] CRACING:
Bump

Please someone reply to my last query.

Whether I need to use patched mxip_notify.vol (Removed call to CEIPUI.exe) or default is ok?

And any idea why I'm have issues with cab installation when I use this patched mxip_notify.vol but not in oskitchen.

Thanks...

Best Regards

Edit: Ok what I found is. If I use mxip_notify.vol in SYS (either original or patched), there will be no issues with cabs installation but if I place in oem, cabs fails to run. Any idea why its happening so on OSB?

However, this case is almost closed now. Thanks again to all. :)