yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] NIKOSXRI:
RAM DRIVE

Everything in my kitchen works fine in 1.32b4 in my Leo (I dont know about manilla because i dont use it).

Using ram drive (i just selected <perform mid cleanups to save space>, i hope this is enough for ram drive to work) i didnt get any error but i didnt find any difference in the process time (2min38sec from platform rebuilder till the end).I use lzx compression, implant xip and i use upx in some packages.

Also the process from the beginning till the platform rebuilder has increased in my new kitchen 50sec though i used exactly the same packages.

EDIT:I got the same error with the other guys during ram drive process.I had made a mistake during the set up of ram drive.
[Windows Mobile] mst46:
I get exactly the same error using a RAMdisk. Did you come up with a solution?

BTW: rebuilding without RAMdisk works without any problem.

I only dumped the new Leo TMOUS 3.14 RUU_signed.nbh and now try to rebuild that

again without any modification yet.

> ImgfsFromDump 2.4 TURBO with prefetching and Multi Threading Suport

> Using compression type 'LZX'!

> Sector size is 0x800

> Output file B:Temp\ROM Generation\OS Sections\imgfs.bin cannot be opened. Exiting

Cheers,

mst
[Windows Mobile] zard:
I've tested with 1536MB of ramdisk and still get the imgfsfromdump error. See my post http://xdaforums.com/showpost.php?p=8433365&postcount=16. :-(
[Windows Mobile] zard:
You're right. I didn't read the error message properly and indeed, the imgfs.bin file is not in the ram drive. I just tried with ramdrive size changed to 2048MB from 1536MB.
[Windows Mobile] RoryB:
Here is my package to test.
[Windows Mobile] airxtreme:
You're welcome:)
[Windows Mobile] airxtreme:
You have to create a subfolder in the ramdrive or imgfsfromdump will have some issues with the path.
[Windows Mobile] airxtreme:
I tried it and I didn't have any issue, is that the only package causing trouble?
[Windows Mobile] RoryB:
Sorry, should have said no packages work. I even tried a package that is already cooked in the ROM, but get the same error.

Okay, I tried it on my Fuze. I deleted the JewelQuest game and then tried install its package. That worked.

So I went back to my Wizard. I thought maybe it is because I do not set up a sync relationship. Set up the relationship and tried the Voice recorder package. It still fails.
[Windows Mobile] airxtreme:
Do you have all the Bronze packages cooked in? What is the windows mobile build?
[Windows Mobile] RoryB:
Bronze, BronzeNonEA and Bronze_DPI_96

Also CHome, CHome_DPI_96 and CHome_Lang_0409

None are RecModed

WM Build 28236
[Windows Mobile] airxtreme:
Can you check which of these registry keys exists and also tell me the values?

"HKCU\Software\Microsoft\Today\DPI", "HKCU\MUI\@" (default key) and "HKCU\MUI\CurLang".
[Windows Mobile] RoryB:
DPI was blank as I have not installed a tsk.

MUI default key is empty. There is a key "CurLang"=dword:0x00000409
[Windows Mobile] airxtreme:
The issue is the DPI key then, try setting the value and see what happens. I think I'll have the kitchen cook the keys inside to make things simpler.
[Windows Mobile] RoryB:
added 96, reset phone, connected, tried, it worked. Program stated certificate or component missing. Reset phone to see if that helped. It did not.

So I tried something else. It too installed, but the app.reg values got imported without a refresh. I reset the phone and the values were lost. I installed again, but turned off phone and let set before reseting. The values are there, but since this is WM6.5 the icon does not show up even though it was added to the HKLM\Security\Shell\StartInfo\Start registry.

The program does work if I start it from file explorer.
[Windows Mobile] airxtreme:
Did you cook with implantxip to have the certificate check removed?
[Windows Mobile] RoryB:
I have Windows Mobile Settings: Disable Security Warnings checked.
[Windows Mobile] airxtreme:
The NK.EXE patch performed by implantxip turns off any certificate check so if it's a certificate issue it should help.
[Windows Mobile] RoryB:
The ROM on the phone is one cooked in version 1.32.1 with the no cert selected. Should it not have this then?
[Windows Mobile] RoryB:
Another package test

This package worked fine other than the registry settings did not "take" until after I did a soft reset.
[Windows Mobile] vasujahagirdar:
missing packages

hi,

airxtreme,im new to cooking without technical background,trying to cook my own rom on my elfin,using stock rom of elfin and importing latest sys and xip,and mega ext packages with ur os kitcten,though im able to cook, few following problms im facing which im not able to solve,searched many related threads but in vain,

1.the cabs like appstar contacts,pim backup.total commander,registry editor htc album and many others,i put them in ext folder through package converter,expect album no other applications are cooked in final rom.

2.i tried to use power,poweroff warning for mega packs they didnot worked,so i used my stock rom ones they r working.reason?

3.the long press end key is not cooking in rom,whether i use frm stock rom or frm mega packages.

3.if i want to club few applications into one package folder(like puttting pim backup,ziprar,registry editor into one saparate folder )how to do that??

4.if i tried to cook with megas oem packages importing them to oem folder platformbuilder crashes.and if i want to cook some packages into system folder how to do that??

5.how to reduce the size of final rom,for me it is of about 85 to 95 mb.

plz help me.

thanks
[Windows Mobile] airxtreme:
What do you mean with "no cert"? The kitchen does cert patching only when implantxip is selected. Also do you have the same problems with the package on the other phone?
[Windows Mobile] RoryB:
My bad. By nocert I meant to say "Disable Security Warnings"

I see that part of implantxip is the -nocert. I have to use implantxip to cook for my Wizard so it is nocert.

Tried installing voice recorder on my Fuze. Still get recorder cannot be opened as not signed or missing one of its components. Will try cooking it in my Wizard ROM to be sure it works that way.

Oops, I am sorry for wasting your time. I must have removed something it needed. I am searching for that now to see if once I get it fixed I can go back to test it.

BUT

based on other packages and having the DPI96 fixed, the feature seems to work fine.

YEP

found it. Worked cooked in and then I made a ROM without it and used package installer. The program worked fine again.
[Windows Mobile] airxtreme:
Did you update the app.dat files to use the right folders for your language?

Probably because those packages are not compatible with the phone or require other newer packages to work.

This is something you should ask in the htc elf rom development forum, it's probably a compatibility problem with newer windows mobile builds, with some packages you removed or with packages coming from a different device.

You mean the start menu folder? You have to edit the app.dat of the imported CAB packages for that.

You can't take oem packages from another phone, it won't work. You can only put the EXT packages but from a phone much newer like the Mega most packages won't work and the remaining few will probably require several changes to work. You should ask in the Elf rom development forum since I can't tell you what works and what doesn't on a phone that I've never used or seen.

The only easy things you can do to reduce the ROM is using LZX and removing useless packages, all the rest (UPX and PNG compression) requires several tests and tweaks to get things working.
[Windows Mobile] vasujahagirdar:
hi thanks for rather lengthy question,

1.most cab which i imported\converted to EXT do not have app.dat files.???

2.ok i try to use the power\warning off files frm original stock rom

3.long end press dont work even with stock rom .i may check in elfin forum.

5.i used LZX one still rom size is of 8\90 mb.as u advised i try to do trail and error and repeat tests.

thanks again
[Windows Mobile] bobsbbq:
Yes I know. But it might be necessary. I know yesterday when I was trying out the mortscript initflashfiles script I had errors when it was trying to compile due to this same error.

Hopefully this could be corrected when compiling a External package from a cab. If not it is not a big thing to just check and change the app.dat .
[Windows Mobile] af974:
Bob,

did you imported a new Rom and then tryied to add your subfolders?

I say this because i have them as you under EXT Packages.
[Windows Mobile] af974:
Agreed, but how can you change the app.dat then?

I deleted the first 2 lines but it recognize again the error.
[Windows Mobile] bobsbbq:
Well I did but then I stopped when I found this extra folder directory I had not used before in EXT. Maye I will go back and try to put these in the dunp kitchen.
[Windows Mobile] af974:
That isnt an Extra folder it is only the main folder where all the EXT packages are stored when you dump an Original Rom.

Chucky's Kitchen doent have it , i know im using it too lol..
[Windows Mobile] bobsbbq:
Well I tried putting them in the dumped kitchen but I have the same problem.
[Windows Mobile] bobsbbq:
No don't delete the lines just reverse them. The line that is creating the BsB directory must come before you can create BsB\Tweaks etc.

Your first line is trying to create a sub directory of BsB and the second line is creating BsB so the second line has to come before the first line.
[Windows Mobile] af974:
This way Bob:

I dont remember if i already tried to reverse the app.dat lines,im going to check,thanks.
[Windows Mobile] bobsbbq:
Mine will not work like this. This is the way I had in 1.31. I get a error Empty project. I have tried creating a new project in the new dumped kitchen but still get the error if I use this structure.
[Windows Mobile] af974:
Thats weird, i get the same error when i try to open a 1.31 project but i can build a new rom without errors.

Anyway im using this new 1.32 only for testing so i dumped an Original rom and copy and paste only some EXT directory to see if all is working fine.
[Windows Mobile] airxtreme:
There is a bug in the treeview I use that causes an error when restoring the state, to have older project files working the "SYSPackagesViewState", "OEMPackagesViewState" and "EXTPackagesViewState" attributes have to be removed from the project file.
[Windows Mobile] af974:
I just downloaded Chucky' kitchen 30/08/2010, i replaced OsKitchen.exe and Resource folder from 1.32 and i was able to use an old project.
[Windows Mobile] bobsbbq:
Hmm this is weird. If I dump the ship ROM and not change anything else I can add the EXT packages and they show.

The previous dump I had already changes OEM and other stuff. So maybe there is something else causing it. I guess I will put in all my EXT packages then work from there to see if it happens again.
[Windows Mobile] af974:
Lol...i apologize, i didnt read better the first post:o
[Windows Mobile] bobsbbq:
I can't seem to get it I just keep getting xml errors can you take a look at my project files? I have included the original and the one I modified.
[Windows Mobile] af974:
This should be work.

The words SYSPackagesViewState must not be deleted but only what inside the ""
[Windows Mobile] bobsbbq:
Well never mind I found my problem all though I don't know what is wrong with these EXT packages. But when I removed them all problems went away. They were older packages I was not using any way.

I attached them if you want to look at them to see if there is something special that may have caused my errors.
[Windows Mobile] airxtreme:
The videodialer package has an invalid DSM file and there was a bug in the error message generation that caused the crash.
[Windows Mobile] bobsbbq:
Ok that's good to know, So I have went through and I have to tell you this is a great move forward. I would have never guess I had this many errors in some reg file. lol

There is a issue with app.dat reporting a error on line 1 of almost every package so I assume you already are aware of this.

But fully working and building ROM's again

Thanks
[Windows Mobile] RoryB:
I just downloaded, but going to a meeting. I'll set up and test on the old Wizard as soon as I can. Might be a few days.
[Windows Mobile] bobsbbq:
Well I'm not sure what is up with the app.dat files, but all the ones showing errors are not being added in the ROM. When I open them they look ok.

What is causing the error?
[Windows Mobile] ausdim:
Try to save your app.dat in Unicode.

That solve the (problem) for me.
[Windows Mobile] bobsbbq:
Thanks will give it a try.

Also I have this error from Total Commander. It was imported from a cab file and is showing error on this line:

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@=""Windows\\cecmd.exe" "%1""

What would be the correct format for this varible?
[Windows Mobile] airxtreme:
This is the correct format

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]
@="\"Windows\\cecmd.exe\" \"%1\""
[Windows Mobile] af974:
Yup, this solve the problem.

Thank you.
[Windows Mobile] bobsbbq:
Yes the unicode and the above registry solved all my issues as well.
[Windows Mobile] af974:
Testing alpha5:

It seems that many problems are solved but:

_Some packages lack a dsm file inside( the dsm is still here)

_Double .RGU in MXIPKernel ( one of them is boot_ms.rgu but its been always as now)

Anyway the rom boot up and run fine without problems.

I dont remember if i changed something in my build but now it is more slim (about 7 mb) as before....could it be possible?
[Windows Mobile] airxtreme:
Unless it's a bug for now there shouldn't be any difference between the files cooked in 1.31 and 1.32.
[Windows Mobile] bobsbbq:
I have a problem now with 1.31 alpha3, I had been build just fine then I was ready to make final changes to the version number etc and now I get a error when generating nbh file.

All I changed was the NBH Structure.xml to change the release date, and I have a provxml in OEMVersion that I have my version numbers in and I just changed the build number.

Now I get this crash error:
[Windows Mobile] bobsbbq:
I dumped a original ROM and took the NBH Structure.xml from it and now it works.

I have the same problem with reduced size of .nbh file.

I notice I have a lot of errors stating no .dsm file exist. These are mostly in the o4o9 folders.

If there is no dsm file are these 0409 folders excluded from the build?
[Windows Mobile] bobsbbq:
Ok error again generating nbh file? Has something changed in the NBH Structure .xml that is causing these errors?

With this stock NBH Structure.xml it will buil NBH:

<?xml version="1.0" encoding="utf-16"?>
<!--This document describes the contents of your NBH file. Upon building libnb will check for these files in the input folder to add them to your .NBH - Any files not found will be skipped and not included-->
<NBHFile Signed="1" ModelID="PB8110000" CID="CSL__001" Version="1.72.831.1" Language="USA" DataChunkSize="64">
<ItemList>
<Item ItemID="0x301" FileName="radio.nb" />
<Item ItemID="0x380" FileName="radiocust.nb" />
<Item ItemID="0x200" FileName="spl.nb" />
<Item ItemID="0x600" FileName="splash.nb" />
<Item ItemID="0x400" FileName="os.nb" />
<Item ItemID="0x920" FileName="conf.nb" />
<Item ItemID="0x900" FileName="extrom.nb" />
<Item ItemID="0x610" FileName="unknownsplash1.nb" />
<Item ItemID="0x611" FileName="unknownsplash2.nb" />
</ItemList>
</NBHFile>

But is I change the Version number I get these errors as above.

This was my old NBH Stucture.xml file I used for a long time:

<?xml version="1.0" encoding="utf-16"?>
<!--This document describes the contents of your NBH file. The IncludedInNBH attribute can be used to include (1) or exclude (0) that item from your final NBH-->
<NBHFile Signed="1" ModelID="PB8110000" CID="Leo" Version="LIA_ROMS_04_Sept" Language="WWE" DataChunkSize="64">
<ItemList>
<Item IncludedInNBH="0" ItemID="0x301" FileName="radio.nb" />
<Item IncludedInNBH="0" ItemID="0x380" FileName="radiocust.nb" />
<Item IncludedInNBH="0" ItemID="0x200" FileName="spl.nb" />
<Item IncludedInNBH="1" ItemID="0x600" FileName="splash.nb" />
<Item IncludedInNBH="1" ItemID="0x400" FileName="os.nb" />
<Item IncludedInNBH="0" ItemID="0x920" FileName="conf.nb" />
<Item IncludedInNBH="0" ItemID="0x610" FileName="unknownsplash1.nb" />
<Item IncludedInNBH="0" ItemID="0x611" FileName="unknownsplash2.nb" />
</ItemList>
</NBHFile>

I even tried only changing the version number in the first one above to :

"LIA_ROMS_04_Sept" but it failed also.

Thanks for any explanation. I did not have this problem with 1.32alfa2
[Windows Mobile] airxtreme:
I haven't recompiled libnb in weeks so it's probably either a malformed XML or the version number being too long (must be less than 16chr).
[Windows Mobile] ceesheim:
Hi , I use the alpha 5 and I also have a lot of dsm missing but they are all there .

I read a view posts and there are more that have the same problem , my only Q is , is this a bug or is it something els ?

lol , another Q

lots of modules have a imageinfo.txt , can I remove them ?
[Windows Mobile] sternas:
for "alpha 5" same problems as previous posts...

_Some packages lack a dsm file inside( the dsm is still here)

_Double .RGU in MXIPKernel ( one of them is boot_ms.rgu but its been always as now)

Yes....

Search to Build folder for "imageinfo.txt"->select all->Delete...
[Windows Mobile] ceesheim:
thanks , 900 notificaties less :)
[Windows Mobile] sternas:
Only "alpha 3" Build stable ROM

test in 6 Negative Languages ROMs
[Windows Mobile] ceesheim:
LOL , at this point I am not building any rom , just try to clean up the kitchen .

I am a bad cook and learning .
[Windows Mobile] ausdim:
I have that problem too and i found in my packages have missing .dsm in LCID folder.

Chek you have the .dsm in 040xx folder.

When i create a new dsm the error gone. :D
[Windows Mobile] ceesheim:
could you gif me a link to a howto on making new dsm files ?

maybe I can fix it to in my kitchen .
[Windows Mobile] ausdim:
I use ervius Dsm editor....
[Windows Mobile] airxtreme:
The kitchen doesn't require any DSM but the one in msxipkernel to work so don't worry about the DSM errors.
[Windows Mobile] bobsbbq:
It was the length for AUG was 15 characters, Sept made it 16.

Thanks didn't know there was a 16 character limit.
[Windows Mobile] ceesheim:
thanks for the answer , but can I remove them then ?(except for the one in msxipkernel)

or is it better to leaf them in .
[Windows Mobile] airxtreme:
If you remove the DSM files the kitchen will switch to alphabetical building and that will probably mess things up if you don't know how to rename the packages to have a correct package order
[Windows Mobile] rgb-rgb:
Using Alpha 5, I copied some packaes from EVK into this kitchen. Some of the packages did not have a dsm file and the red X came up like it was supposed to.

However, if I just open the package priorities and hit cancel, the kitchen generated a dsm file and everything appears to be okay.

If the package does not contain a dsm file and I open the package Priorities and hit Ok, the kitchen generates 2 dsm files and I get the error message that there are multiple dsm files in the package.
[Windows Mobile] RoryB:
Okay, update on the Wizard phone.

Of course I cannot import the original WM5 ROM.

I copied parts of my working kitchen.

Release 2 (I think)

Same image...txt errors in modules. Deleted all of those.

Same app.dat error. Went away in release 5.

Some missing dsm notices. Fixed by opening package properties and selecting ok. Sometimes got two dsm files. Just deleted both and tried again. One package had a 0409 folder without a dsm so I moved the one from the main folder and ran package properties to get a new one there.

Ran release 5 and got the same size file as 1.31 kitchen and then flashed.

Results:

Appears kitchen runs even faster. It definitely closes out faster (offers to open output folder).

Flashed ROM appears the same as 1.31
[Windows Mobile] yonn1981:
Which WM build contains this package (WinCENLS_Lang_RTL_0401)? Can you share it please :p
[Windows Mobile] airxtreme:
I think it was the 25653 Da_G rollup
[Windows Mobile] ceesheim:
@ airxtreme

your thread named 1.32alpha7 but the attached file is alpha6 ?
[Windows Mobile] airxtreme:
Sorry I had problems uploading the archive but now it's up.
[Windows Mobile] sternas:
for 1.32alpha6

All OK for WWE and ELL ROM versions

testing 1.32alpha7 now...
[Windows Mobile] af974:
I have to report a little problem but it is with both 1.32 and 1.31.(i didnt know if post here or in 1.31 thread lol)

The patch with Localization Manila files, if i check it i loose the language in Digital Compass otherwise if i dont check it Digital compass works fine but my Rom is huge.

Not that i care a lot by Digital Compass , i thought you would know about this issue.

Thanks for alpha 7 no problems by my side since now....oh yes , only one ..the double rgu in MSXIPKernel but who care about it :D

EDIT: ok , its not so huge...only 2 mb added...i forgot that i was using 10 mb for IMGFS update
[Windows Mobile] jjblaster3:
so this is what causes digi compass UI to have weird titles like "IDS_CALIBRATION_TITLE" etc...

I thought maybe there was some OEM-EXT relationship meaning i screwed up my OEM files or sumthin.. :rolleyes:
[Windows Mobile] af974:
I wouldnt say you how many packages i have checked and how many °#*#@ i said :D, then i have look in Digital Compass files folder, i saw the _Manilla files and i made 2+2 :D lol
[Windows Mobile] jjblaster3:
lol great find, thanks
[Windows Mobile] ceesheim:
can someone ex plane what is wrong with this ?

this is also on the alpha 5-6-7
[Windows Mobile] af974:
This means that WiFiNetworkexe.mui must be in 0409/files folder ,this message is saying to you that it isnt there but in the root of the folder.

-------0409

----------------files <-------copy it here
[Windows Mobile] ceesheim:
thanks , that worked :D

ps sorry for the noob things .
[Windows Mobile] variosteph:
errormessage

one problem here with alpha 7:

errormessage on discretix DRM ext package imported from rhodium 2.07.

something about error in app.reg, but there´s no app.reg in the package
[Windows Mobile] TAEL:
Simply, go to the line 121 of app.reg file and see what is wrong there and correct it.
[Windows Mobile] alesscam:
@variosteph

try to creating app.reg writing only REGEDIT4
[Windows Mobile] variosteph:
will try that, thanks

as i wrote above, there´s no app.reg inside the package;)

EDIT:

THERE SEEMS TO BE A HIDDEN APP.REG INSIDE, WHICH ISN`T SHOWN!

could someone please take a look at that package, because i can´t make the app.reg visible

thanks
[Windows Mobile] TAEL:
Oh, I didn't see that. :D Now, I'm suggesting what alesscam is said.
[Windows Mobile] af974:
I can see your app.reg, one in root folder and one in 0407 folder.

On windowsPC side:

Folder options= show hidden files,folders and drivers

This will fix your problem

EDIT : you can always use this for change hidden attributes to a file:

ATTRIB -S -H [pathname]

in a command line .
[Windows Mobile] variosteph:
Thanks guys, on my work-computer sys-files were not shown:D me NOOB!

EDIT:

Another Problem:

there seems to be a problem while improting rhodium stock 0407 rom, the

folder "default" is empty. No problem with 1.31

error:

The OEMXipKernel devicefolder is missing. The buildprocess cannot continue.
[Windows Mobile] af974:
For some reasons i had a Rhodium 2.07 Italian in my pocket ...so i gave it a try:D

The default directory IS not empty and OEMXipkernel IS not empty,though, i really dunno how to help you,lol.....Maybe your download rom is corrupted?
[Windows Mobile] variosteph:
nope, the rom should be ok, imported it like 30 times with 1.31;)

well will try to download it again tomorrow and see what happens!

thanks af974