yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] steppenwolfx:
Problems Pre-Cooking EXT packages in ROM

Hi Guys,

I've been doing a lot of research for some time know but still I'm kind of a noob in the WM mods area, I started cooking a new ROM for HTC Rhodium (trying to customize some items and preinstall needed applications) but hit a brick wall I can't seem to cave in!!!...

I'm working on a Official release ROM for Rhodium in spanish, details below:

Device: HTC Rhodium

ROM Version: 1.86.412.0

Build: 21854

Radio: 4.49.25.57

Locale: 0C0A

Also I'm Using osKitchenv1.33.5 for all this!, and I'm working on a Win7 x86 Ultimate Laptop

I manage to remove most things that really won't be used but maintaining the whole telephone functionality, until this point all is good!. But I also need to pre-install in the cooked ROM the following applications:

1-Microsoft Communicator (in Spanish)(I extracted the .cab from the "CommunicatorMobile_PPC50.msi" offered by Microsoft)

2-PHM Registry Editor (obtained from source)

3-Total Commander (obtained from source)

4-SPB Mobile Shell v3.5.5 Build 10087

5-PPCPimBackup2.8 (this is an .exe)

I import the .cab files with osKitchen without any problems or error prompts, but once I flash the cooked ROM in my Rhodium and boot it NONE of the applications I intended to add are available. I've found copied files, sometimes even registry changes that support that something is happening but I can't get my mind around the error!!!! =(!!!!

Doing some research I found topics where experts mentioned that the "app.dat" file in the EXT perhaps was in ANSI coding and needed to be UTF, did the change in some of the apps but no luck. Also I checked the strings in the app.dat and fixed stuff like a wrong path (for the app link in the Start Menu, It was pointing to "Start Menu" and I changed it to "Menú Inicio" as I found that path was the one the ROM seems to use.

I'm really stuck on this and will really more than appreciate any help I could get!!!!, seriously!... If any of you guys have the time and kindness to give me a hand I'll provide any details any of you could need to advise me in how to solve this!!!

I also posted this same message in the following threads, I'm really desperate trying to find a solution for this!:

http://xdaforums.com/showthread.php?t=691789&page=10

My best regards from Venezuela to all,
[Windows Mobile] Laurentius26:
Hi mate,

Not sure but this is what I'm thinking.

Old package structure was:

package

.dsm

.rgu

Plus all the files in the root of the package.

New package structure is:

package

files

app.reg

Besides that, if a package gives a error, doesn't the

kitchen warn you if a package contains errors?

It should as it's build in, in last OsKitchen.

If you browse over the selected packages, you see a warning and when you move your mouse to it a popup shows what's wrong with it.

Grtz, Leo :)
[Windows Mobile] variosteph:
how do you name your packages?

maybe the startmenu entrys/regsettings are overwritten during cooking?

i always named them something like that:

zzzzApp_PHM_Registry_Editor

to get them cooked in last

steph
[Windows Mobile] heliportpoe:
hi !

the OSkitchentools , whether can be use for Motorola Q8 GSM to make a WM 6.5 ROM?

thanks
[Windows Mobile] netant:
Failed to parse value name HKEY_CURRENT_USER\ControlPanel\Sounds!!!

does anyone figured out how to solve the problem of

Failed to parse value name HKEY_CURRENT_USER\ControlPanel\Sounds!!!

because this error my whole ringtone system was not working :( only wma ringtones working.

I am just trying to clean up SE bloater from the stock ROM (Xperis X1 genric WWE )

please someone suggest.
[Windows Mobile] MariuCh007:
Language

Can anybody help me found info "how to add new localization files to the kitchen"?

Regards,

MariuCh
[Windows Mobile] The Zel:
Problem with platformrebuilder

I everybody, when i click on start building with osKtichen Zero everything works great until the program has to lunch platformrebuilder. The program crashes (platformrebulder) :mad: !

Can someone help me? I use Windows 7 32 Service Pack 1 32 bit... and a non-HTC stock rom
[Windows Mobile] The Zel:
Nobody knowes what's the problem? :eek:
[Windows Mobile] ypsmav:
there are a few packages that need to be recmoded to avoid the platformrebuilder to crash: audio booster, concurrence manager and Notification enhacement.

If you have already recmoded those, try to cook only with original HTC packages. If it works just start adding other packages until you find the one crashing.

If it does not work, just erase your kitchen and reinstall from zero.
[Windows Mobile] The Zel:
Actually I don't use an HTC stock rom, so I don't have those packages...
[Windows Mobile] Stephen:
What rom are you using as a base. Are you trying to use another chief's prebuilt rom and change it?

osKitchen is designed to work with official roms only. When a chief builds a custom rom it does not work properly with oskitchen.
[Windows Mobile] The Zel:
I'm using an official Acer e100 rom, I downloaded It from Acer site
[Windows Mobile] OndraSter:
Forget about that, platformbuilder doesn't talk with nonHTC PPCs or HTC Smartphones. Only HTC PPCs work.
[Windows Mobile] The Zel:
Can I put an HTC stock rom and make It work on my non-HTC device?
[Windows Mobile] Stephen:
Not sure you can. The drivers are setup for each spesific device. It would be very difficult to port accross. You would be better looking to see if there is a "kitchen" available for an acer rom its self and going about it that way.
[Windows Mobile] derliebewolf:
One short question:

some months ago I build a pretty nice ROM for my X1. Everything works fine so I want to give it to a friend now. Unfortunately after this years Upgrade to win7 (PC) I accidentially wiped the disk where the kitchen and teh ROM were located. But I still have it running on my X1. Is there any way to extract that ROM now and create a flashable NBH from it?

Rebuiling the kitchen is not an option BTW :D

EDIT: Scratch that, I found the link where I uploaded it five months ago. So I do have the ROM, that question might be interesting though...
[Windows Mobile] einsteinecker:
Sorry if this has been asked before, but is Samsung Omnia support dead on the newest OsKitchen? It doesn't seem to create a working .bin file. Well, technically I'm flashing for my Epix, and they both share the same file structure so it should work, ja?
[Windows Mobile] bob6137:
oskitchen zero - acer m900

would oskitchen zero be suitable to use with an official acer m900 rom (wm 6.1 / ce 5.2.20772.1.4.7) ?

so far I am using various tools like kva's tools and dumptool with packagebuilder and some others; in the order I would have (more or less) for the htc hermes 100/ orange spv m3100 (had one, display failed).

I need to remove some of the acer cabs in extrom that install without choice (like acer shell, acer keyboard) and add some programs i use (total commander, some gps utilities, etc) to either the rom or the extrom so I wouldnt have to install every time. (using the sd card flash method) also considering on including some registry tweaks.

thanks.
[Windows Mobile] R Lamberson:
osKitchen device support

Any possibility of HP Touchpad being added as a support device?
[Windows Mobile] ssamth2003:
Any chance to import chefe build (cooked rom), so we can modify the cooked rom to our need.
[Windows Mobile] tobbbie:
Like for any re-use: why not ask the original ROM creator if he is willing to share the results - probably even publish his kitchen? Mind that there are several way to prevent the reuse of dumped ROM in an easy way - possibly even ROM Dump prevention methods exist.

If you want to start cooking, I recommend to start with OS Builder and a clean shipped ROM. This is the best way to understand how things are linked. Also is OS Builder the most advanced all-in-one kitchen around.
[Windows Mobile] ssamth2003:
Totally agree with you. but for the beginner chef or even user, it will too much to start from OS builder, we just try to expand the sharing idea of our great chef here with some modify to serve our need. The whole things share from the rom may already great but still need delete some or add some....
[Windows Mobile] tobbbie:
You need the original kitchen with the dedicated full setup if you want to alter packages. Getting it from a dump and then start the work has too many potential pitfalls which may not be worth the effort finally. In the end you will learn all the things that do NOT work, understand why (possibly) and then decide to become a cook and finally chef yourself with an own kitchen anyway. So either get the original kitchen from the chef (including packages and all options and setup) or get started with OSB on a clean dump as recommended.
[Windows Mobile] einsteinecker:
Just wanted to let you guys know I managed to cook a bootable, usable Epix ROM with OsKitchen Zero, the 800mhz ROM thanks to heineken :D

And, despite osBuilder's recommendation as the best ROM kitchen, I still find osKitchen to be my best kitchen, as you can see I cooked ROMs for 3 different devices using osKitchen and they are awesome. But, just recently I started using osBuilder just to fix my dsm files, so osKitchen still has a way to go ;)
[Windows Mobile] tobbbie:
OS Builder is not free of errors but main effort goes to WM7 currently.

However mostly errors are in areas that other kitchen not even offer. With Smartphone cooking OSkitchen was never a way to migrate to as the platformrebuilder does not work for the smartphone platform. So I had to stay with old BuildOS batch-kitchen until I came across OS Builder.

Migration is truly a major effort, but if you want to continue playing around and get tweaks here and there, smallest XIP and other bits and pieces to play with - there is the path to go, simply as it gives you closest control of all the options that are treated on the device later, just like a true build from factory and not just a running Frankenstein where you are happy with an "It's Alive!" after boot :-)
[Windows Mobile] einsteinecker:
Migration takes time as well, something a person like me doesn't have available to spend freely ;) and if osKitchen does the job well, there really isn't any need for me to spend precious time elsewhere, ja? My only problems, most notably my Treo ROMs, are the fault of Palm and their incompatible software, and no matter what kitchen you use, that's just something that cannot be fixed. Well in fact, it's not a supported device according to osKitchen's device list, so I think I did a pretty good job with making the best ROM ever for the Treo750.

I sure wish I had the time to sit down with osBuilder though. I hear nothing but praise for it, but I've always been the type of person who spends the least amount of time to get the maximum successful results, proven results, and I just have this inkling of a feeling that I might spend so much time on osBuilder and in the end, it spews out a ROM just like I did with osKitchen :D
[Windows Mobile] elesbb:
Anyone know how i can include a radio in the ROM when i build it ? obviously using osKitchen :) thanks everyone
[Windows Mobile] Cheque:
I experienced this:

When I imported another ROM file, kitched asked if it should overwrite or rename existing folders (EXT,OEM,...)

of course i clicked No -> (create new folder , "~_2" )

the OEM folder gives me problems:

after importing i have two folders shown in kitchen

The language folders are preselected.

It causes the kitchen to fail during the build-process, as it seems to use both of'em.

(platformrebuilder crashes)
[Windows Mobile] hartv427:
Can you post a link to the the ROM you are trying to import i will try to help the i900 is similar

you could also try replacing the OEMXIPKernel with the one attached to this post
[Windows Mobile] Blinkydamo:
Hi all,

Could someone tell me how I stop the auto customization from running after I flash a cooked rom. I have not set anything to customize but I still get it running, I think it's come from the stock rom.

Cheers

Blinky
[Windows Mobile] af974:
you must leave these from your kitchen:

Autorun

CheckAutorun

and maybe runcc but im not sure if this is necessary.

Sometimes Autorun and Check autorun are in EXT folder or OEM Drivers
[Windows Mobile] Blinkydamo:
I am not able to find anything that looks like those, any other idea's?
[Windows Mobile] variosteph:
and just to be sure look into the config_AP.txt in SYS folder ConfigAP. just delete the line with the *.cab

steph
[Windows Mobile] anzo:
Thank.

Unfortunately, this is good. So far, I used to Vistang kitchen was not wrong.
[Windows Mobile] Blinkydamo:
That one I did find, thank you.

Cheers again

Blinky
[Windows Mobile] hartv427:
I think you will be fine with XRP I tried LZX after reading this and with had the same trouble but XRP works fine.

Any ideas ?
[Windows Mobile] af974:
Not sure if Omnia works as Kaiser with Oskitchen but in your attached file i see nk.exe in OEMXipkernel .....well i guess this file must be in NK folder as wrote in 1st post in folder structure.

I have had LZX problems too and these are related to cecompr.dll in OEMXIPKernel too,many Official roms are made with XPR compression and for some reasons LZX cecompr.dll wont overwrite it .......oh well its only my opinion.

I attached my Kaiser OEMXIPKernel for comparing with your.

EDIT: here you can find an old but working OsKitchen for Kaiser,you can use it for check folders structure http://www.4shared.com/file/196183980/91901c4f/Kitchen_TEST8_0409_23081_ALL.html
[Windows Mobile] hartv427:
Your right i missed that :eek: got the OEMXIPKernel from another source I"ll pull it noob mistake

Thanks for the link I"ll take a look
[Windows Mobile] hartv427:
Hmmm I see your just putting the LZX cecompr.dll module in your

OEMXIPKernel simple enough correct ?
[Windows Mobile] af974:
Yes i did.

Anyway i really dont know why cecompr.ddl in LZX compression folder doesnt overwrite the one in OEM.:confused:

EDIT: maybe is read only ....uhm i didnt check this before

EDIT_2: Ok i just check that when you dump an original HTC ROM all folders and files are write protected,i knew this cos i always mod the EXT folder but i totaly forgot to leave read only in ROM folder .
[Windows Mobile] Lewy1:
Can someone please help me???!!!
[Windows Mobile] af974:
Did you dump your Rom with OsKitchen?

Did you use OEM dumped from Original without aniything else?

Try to cook the Rom with the Original SYS and MSXIPKernel and see if it work otherwise the problem is in your 23529 folder.

I have had this such a problem when i put a an HTC MEGA dll inside Kaiser OEM driver.
[Windows Mobile] qball1616:
how do you remove the read-only attributes? I have tried clicking on properties and unchecking read-only and applying, but then when i check to see if it kept the changes it reverts back to being read-only. I am using Windows Vista if that matters or not
[Windows Mobile] variosteph:
does this mean, if i uncheck read only i hopefully will get a booting rom with lzx?

steph
[Windows Mobile] airxtreme:
Please check if cecompr_nt.dll is just in the OEMXipKernel folder or also somewhere else.
[Windows Mobile] af974:
For what i knoe cecompr_nt.dll is located only in Resources\tools.....maybe did you meant cecompr.dll?
[Windows Mobile] airxtreme:
yes, sorry, I meant cecompr.dll
[Windows Mobile] hartv427:
cecompr.dll \Sources\ROM\Rhodium\XIP\OEMXIPKernel

cecompr.dll \Resources\Compression Libraries\LZX

cecompr.dll \Resources\Compression Libraries\ZPR

Only one in sources
[Windows Mobile] skmdm:
I'm getting an error saying MSXIPKERNEL hasnt been selected

WHAT TO DO HELP ME PLZZZZ
[Windows Mobile] OndraSter:
.. Select MSXIPKERNEL package?
[Windows Mobile] skmdm:
there is no msxipkernel in my oskitchen.

(HTC ELFIN) it says msxipkernel is necessary to build a working rom hasn't been found rom generater cannot continue (using oskitchen zero v1.33.5)

some one tell me how to port xip on oskitchen zero 1.33.5

plzzzzzzzzzzzzzzzzzzzz help me
[Windows Mobile] skmdm:
iam trying to cook my own wm6.5.3 23569 rom for elfin

evry thing is good but when i try to flash the rom it bootup but

it stop at window mobile screen

what to do plzzzz help me
[Windows Mobile] skmdm:
some one plzzzz help me
[Windows Mobile] einsteinecker:
If it freezes at the Windows boot screen, that means you have something that is trying to load, but cannot due to an error.

Try to cook a ROM with just the basic OEM packages: OEMAPPs, OEMDRIVERS, LANG, DPI, MISC. Afterwards, enable your additions one by one till you find the package that is causing the freezing.
[Windows Mobile] skmdm:
THX man it works, only problem with oemdrivers 3.14

can any one tell me how to port oemdrivers 3.14 for elfin

---------- Post added at 05:45 AM ---------- Previous post was at 05:42 AM ----------

can any one tell me how to port OEMDRIVERS 3.14 for elfin

with ERVIUS KITCHEN V1.8.2 (or) OSKITCHEN ZERO V1.33.5
[Windows Mobile] einsteinecker:
Ah, so you found the problem.

Have you asked around in the Elfin forum, about cooking problems with the OEMDrivers folder? Try to search for topics like that, surely someone has come across this problem before, so maybe there's a fix for that.
[Windows Mobile] Digistras:
Hi all,

I tried to import the a ROM into OsKitchen but while extracting, I got the following error as shown in the image below:

What is this error about and how do I overcome it?

Thanks in advance.
[Windows Mobile] Cheque:
did you try to extract the installer-exe and import the .nbh ?
[Windows Mobile] Digistras:
Which installer-exe are you referring to may I ask?
[Windows Mobile] Cheque:
romfiles for my phone come in an exe file that extracts itself.

within the extracted files (such as enterbootloader.exe and ROMUpdateUtility.exe) is of course the nbh-ROM file.

if importing the nbh file to your kitchen isn't working, you can try to extract the nbh file manually, with a few tools found here in the forum
[Windows Mobile] Digistras:
So are you saying that I need to extract the .nbh files and then use tools to include the IMGFS and XIP files, then re-package it so that OsKitchen can open it?
[Windows Mobile] Hel43ber:
kitchen a whirl
[Windows Mobile] prabhat:
Building ROM for Verizon Whitestone/Imagio

Hello,

I am trying to build a rom for my friend's device (Whitestone) using osKitchen and imported the Official ROM and I could see it is of SYS 21874. Building the ROM works fine and no issue.

Now I tried to update the SYS to 29022 or 23153 (I have used the same sys for my Topaz using same kitchen), but unfortunately Platformbuilder crashed during build.

No SYS/EXT packages has been altered. What could be the issue?

Thoughts...

Cheers!!!
[Windows Mobile] Simonas0:
Issue is the old nk.exe and xip.bin. You can download nk.exe from any other device running WM6.5 (search in xda) and place it instread old Whitestone's nk.exe. But with xip.bin I can't help, I have this problem too. If you can help with cooking xip.bin, please help. I have FSC T830
[Windows Mobile] OndraSter:
No
[Windows Mobile] Cheque:
VM ?
[Windows Mobile] htc-3333:
How does this kitchen set file attributes in "Temp\ROM Generation\PlatformRebuilder\temp\dump" folder? I've always get wrong result. Often H and S are set where they are not.
[Windows Mobile] seruss:
Will it work for HTC Universal?
[Windows Mobile] Mik-el:
Hello.

I'm sing OS-Kitchen-Zero to build a new ROM for my Toshiba device.

When the kitchen starts it asks me to import an "Official Firmware Update" relative to my device. BUT...

I can't download the Official Update because it has been removed from Internet... :(

SO

Can I dump the ROM installed in my device an use it instead???

Or could I use an Official Update for a different device?

Thank you to all the users in advice
[Windows Mobile] aestivalisakito:
It would help to know what device you are using to give proper instruction. This kitchen is quite old and was used with the old Windows Mobile (what window phone os was called before). The last update to it was 5.5 years ago.

Again what device do you have meaning what model of Toshiba
[Windows Mobile] Mik-el:
Hello aestivalisakito thanks for your interest :)

Yes, the phone is a Toshiba Portege G910 with WinMo 6.0 Professional.

There is no kitchen that officially support it, but Os-Kitchen support the Toshiba G900 that is almost identical. :)

As I said

When the kitchen starts it asks me to import an "Official Firmware Update" relative to my device. BUT...

I can't download the Official Update because it has been removed from Internet...

SO:

---Should I dump the ROM installed in my device an use it instead???

---Or could I use an Official Update for a different device? (I think no... anyway My G910 is similar to the Htc TouchPro2 and the XperiaX1...)

I already have WinMo build-files that work with WVGA devices like mine
[Windows Mobile] Alvin7529:
hello,

i have a question on osKitchen, i hope i post in the right place.

in january this year i had to use osKitchen to modify my HTC Rhodium ROM (i needed SHA2 to continue using Outlook.com)

it worked perfectly and i managed to modify my ROM.

now, because of some issues i need to do it again, but it doesn't work anymore.

i have the issue "the XIDump tool doesn't seem to work properly..." so i tryed to download "Visual Studio 2003 (7.1) Runtime Libraries" on XDA Dev but the link is dead, i tried searching on internet but i only found dead links.

i don't know why it worked on january and not now (maybe one W10 update) but i'd like to find "Visual Studio 2003 (7.1) Runtime Libraries" to be able tu use osKitchen again.

does someone know where i can download it? or does someone have a solution to be able to modify and build my ROM again?

thank you for your answers if possible.
[Windows Mobile] Cheque:
This is what I found in my archive.

seems like i packed a useful file it into the kitchen zip... maybe it's the right thing for ya.

[edit]further research revealed this msvcr file
[Windows Mobile] Alvin7529:
one thousand thanks to you,

it's working perfectly now, i'll keep this preciously :)

i'll be able to try cooking my ROM again, you made me happy :)

many thanks again :)
[Windows Mobile] Cheque:
u can use ROM from a similar device (screen resolution would be important, hardware etc) as a start, but may have to adjust of course.

example: htc photon and htc aria share nearly the same hardware and could be used...
[Windows Mobile] Mik-el:
Hello Cheque! :) Thank you a lot for your interest!

I am making a WinMo Rom for a WinMo device (Toshiba portege G910), so why do you advice me the HTC aria ? (it's an android smartphone!) :confused:

So... when OS-Kitchen starts, it asks to me to inport an Official-Update-File, I don't have it... but I have the stock rom of the HTC Touch pro 2 (very similar) :laugh:.

Will it work or could I brick my device?

(the resolution is the same, CPU and ram are similar, both have qwerty keyboard but different layouts...)
[Windows Mobile] Cheque:
The aria/photon comparison was intended to be an example of interchangeable packages because of similar hardware.

You can try to contact toshiba's support to send you the rom file...

Uploading a false rom to your phone will either not work in the first place or may brick your phone.
[Windows Mobile] Cheque:
maybe you can use this too, as the kitchen sometimes need this files.

unpack them to your /Resources/Tools folder.

ImgfsToNb.exe

implantxip.exe
[Windows Mobile] Alvin7529:
thank you, i saved them in the tool folder and i keep the archive preciously.

many thanks for sending them to me :)
[Windows Mobile] HostZero:
Gonna try
[Windows Mobile] Alex023:
Hi,

does enyone have the "Visual Studio 2003 (7.1) Runtime Libraries"? The Link in the first post is broken and Google has no answer to download this libaries. The search funktion on xda returns only this and an other thread, which also links to the broken mediafirelink.

Thank you in advance for your response!

Alex
[Windows Mobile] SuperSport:
In this post, you should find what you are looking for.

http://xdaforums.com/showpost.php?p=66332353&postcount=3607