Hey Guys,
Yet another sleeples night, looking at something that is probably simple and getting no where.
THE PROBLEM:
APPARENTLY you can change a CAB file into an OEM so that it can be used in Pandora Kitchen, the kitchen thread says its possible, but doesnt really give directions as to how.
Considering this is a new thing to, and there is no info about this on the site (that i can find)
Can someone please tell me step by step how to do this, and by step by step i mean:
1).................
2).................
3).................
4).................
etc etc
Thankyou for your help in advance
Here is a test package I made, but I keep getting a registry errors. Maybe someone can tell me what im doing wrong. I think it was better to keep all this in the kitchen thread personalley but as long as I can figure this out I dont really care.
Extract this file and take the "Remote Desktop" dir and drop it in the OEM dir in the Kitchen, and it shows up and all but when you go to build with teh green arrow I get a registry compiling error.
I also attached the original cab file that I started with when attempting to create this package.
Also attached is the cab manager that Matt uploaded, I am sure its the same as the one posted above but this has a readme and what not.
First Matt told me this:
Using this tool (many out there, this one's free and does a good job), extract the cab to a folder, then click on XML and grab the .rgu contents. Be wary of the format, as you have to delete any spaces between entries, such as "biteme" = dword : 00000001 should read "biteme"=dword:00000001.
Also, ensure that any path in this file (file system, not registry) is in this format: "\\Windows\\Startup" The second slash is required. Also, remove any references like %ce%\Windows, just change it to "\\Windows". You'll get the idea. If it ain't right, BuildOS will fail while creating the registry.
Move all the files into the top level in the folder you made, and remove all the extra crap like the inf file, and sometimes there's an xml file there too - note that you may need to convert to a provxml if the settings in it are required.
Use this site http://www.famkruithof.net/uuid/uuidgen (verion 4) to get a new GUID. I'd suggest coping a .rgu and options.xml file from another package since the file has to originate a certain way - and only use notepad to edit.
Just follow the example in the other packages - you'll find just about every way to do things in there.
As far as more details on using the program, just play with it. It's pretty simple
Then Bennec83 told me this:
what exactly are you trying to do? extract a CAB? if you are, using the file i uploaded earlier:
1)Launch CAB Manager.exe
2)on main screen extract CAB to a folder
3)click on the XML tab in top bar of the main window of CAB Manager.exe
4)in the window that opens, select Registry Keys
5)copy everything from the screen into WORDPAD
6)remove all the spaces
7)save the file as "UNICODE", once saved change the extension to somename.rgu
if you are trying to add an OEM to this kitchen i dont think you can just add them, please correct me if im wrong.
i hope this helps, if not tel me abit more about wat u want to do n ill try to help abit more!!
I understand the INF file as well, I just dont know how to add multiple directories as the destinations for a package, when a cab inf will tell you where there all suppost to go.
--Update--
I removed the NON-WORKING package, as it is now obsolete, see post below I got it working.
Ok then I understand the logic, and then the proper elaborated instructions can be pasted at the first or second topic of the Kitchen thread.
So I guess im doing something wrong with the reg, I have tried it a bunch of diffrent ways by comparing it to existing packages but I still cant seem to get it.
This quote by matt is what leads me to believe that.
Also, ensure that any path in this file (file system, not registry) is in this format: "\\Windows\\Startup" The second slash is required. Also, remove any references like %ce%\Windows, just change it to "\\Windows". You'll get the idea. If it ain't right, BuildOS will fail while creating the registry.
Ok I did it, I was reading an old post of bepe's and he said "add the reg to the end of the file (and the last line must be empty)" and so I hit enter and left the last line blank and BAM it worked so here is my first package contribution.
Maybe you can start adding these to the first post and we can start to make a collection for matt to add and test with his kitchen ?
Here is another one HTCustom 1.7 ready to go package for the kitchen
Damned if I can work it out!
Can anyone please package any of the following cabs?
Ive added JUVS HTC Home because the one included in the kitchen has the coloured icons not the original b&w.
Many many thanks in advance
I am still not able to completly figure out how to make a package where you must put files in diffrent locations other then the windows folder ? I would veyr much like to figure this part out.
I dont think he's having a go at you - he's just as frustrated as you and I with this. I would love to be cooking my own roms and with the wonderful pandoras kitchen I am getting alot further along but I guess I got a lot further to go!
well, by searching you can find how to do this!!!
click on this ftp://xda:[email protected]/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
this pdf file got what you need!!
under "Making a Package from a CAB file"
Look here bennec83, the comment i made was not meant to be a flame at all. If anything, it should have helped you alot with what you were trying to accomplish with the program and, making packages. I mean how much more direct can i be with helping you? As I said to you before, yes some of the chef can be a little vague with explaining the "How To's" of cooking or anything else, but that still didnt stop my progression of learning what i wanted to learn on here. What i explained in the CORE's Kitchen thread, was basically 80% self taught thru reading post & threads on xda, google searching, and trial and error. The other 20% was thru xda forum members input. I have a basic understainding of computers with no type of programming skills, and yet still, i was able to grasp the concept of cooking roms and making packages. Yes sometimes you have to put 2 and 2 together to figure things out on here. How I did it was I looked inside CORE's additional OEM packages and noticed that the files inside all the oem were extracted into the root of the folder's Dir...ok..so I would assume that you spent considerable amount of time trying to figure out that OEM package program(inside CORE's Kitchen its called Cab Analizer), then i would assume that you know that it extracts files within a .cab...ok... with that given....if you look back into an already made OEM package and many others, you'll notice that most ,if not all, carry an "initflashfile.txt"(which i figured out the correct data input) and many packages also carry .rgu & dsm files, so guess what....you need to find out what are .rgu & .dsm files, and there functions(if know no ones whats to tell you in a timely manor then, search or google, like i did!) Once you learn about those then, you'll notice that the OEM package program you have infront of give information about the reg keys of the cab (if available), then you start putting 2 & 2 together! You mention in your quotes that the programs sucks ass, well that program is a key part in making packages, If you can find a better one, please let me know!
NightmarE said:
well, by searching you can find how to do this!!!
click on this ftp://xda:[email protected]/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
this pdf file got what you need!!
under "Making a Package from a CAB file"
Click to expand...
Click to collapse
thankyou so much for this, i actually know what to do now i really appreciate this. you dnt know how much!!!
thanks alot
chrisnash said:
I dont think he's having a go at you - he's just as frustrated as you and I with this. I would love to be cooking my own roms and with the wonderful pandoras kitchen I am getting alot further along but I guess I got a lot further to go!
Click to expand...
Click to collapse
you are right that wasnt flamage!! i have been lookin so long in this forum i totally didnt think the answer would be in the wizard forum.
i have read and understood the instreuctions here:
ftp://ftp.xda-developers.com/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
i just wish i cud have found it earlier
perhaps I'm an utter fool, but I'd like some clarification from those of you who understand this, mind you I do have Faria's PDF:
1) For a .cab with purely registration files (ie, the Cingular WAP Settings) that contains a .inf when extracted, all I would need is the .rgu to put into BuildOS, right?
2) The .dsm file (and iniflashfiles) are only needed if the .cab is an actual application, and the .dsm file that you create can very well be empty (from what I understand from Faria's rom).
Maybe it's a lack of sleep, but I'm just not getting my head around this and am so far using the Install Cabs feature from HTCustom 1.7 after flashing.
I was trying to do the cignular settings and It seemed to me that all those reg entries appear like blank er something was wrong with them, I could be wrong but thats what it appeared like to me.
Bennec, ok then bro, my mistake, I guess I shouldnt of assumed that post was directed towards me, it just felt that way and I know you were frustrated.
Lets make this the best CAB to OEM Package thread ever and start a collection on the first post, also with all you have learned now, have you figured out a way to make a package with a cab like opera where the files must be placed in to diffrent dirs ?
where are you all stuck at?
to move files to a different directory you need to use initflashes. Keep in mind that this copies it to a different directory not actually moves it. The original file will still be in \\windows
If all you want is to add registry entries, add them to an existing packages registry entries. If you create a new package for the registy entries it should have a dsm file as well.
If you want the check box in buildos you will need to create an option.xml file as well.
bennec83 said:
you are right that wasnt flamage!! i have been lookin so long in this forum i totally didnt think the answer would be in the wizard forum.
i have read and understood the instreuctions here:
ftp://ftp.xda-developers.com/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
i just wish i cud have found it earlier
Click to expand...
Click to collapse
I'm glad you found the info you need, and are on your way to making progress. I apologize for not being able to assist more than I did, but I've got my hands full getting v3 ready for release.
Good luck and happy packaging!
NYD - long time, no see!
goto the CORE's kitchen thread. Read my posts and familiarize urself with a program called "compare it". Use this program to compare ur registry when the app is freshly installed, to the registry without the app installed, and pull the reg keys that way!
mattk_r said:
I'm glad you found the info you need, and are on your way to making progress. I apologize for not being able to assist more than I did, but I've got my hands full getting v3 ready for release.
Good luck and happy packaging!
NYD - long time, no see!
Click to expand...
Click to collapse
I understand you have lots to do on your kitchen, congrats BTW!! amazing kitchen, how is touch flo goin?
notyourdaddy said:
where are you all stuck at?
to move files to a different directory you need to use initflashes. Keep in mind that this copies it to a different directory not actually moves it. The original file will still be in \\windows
Click to expand...
Click to collapse
Hmmmmmm.
So its not possible to cook a Rom with custom apps in Progam Files only? I mean if they are always in \\windows too then its better to install the files than to cook it in the rom.
I have always believed you should add as little as possible to Rom:
From Tadzio's 'Want more Storage' Thread.
tadzio said:
...clip...
I modified mamaich's ImgfsTools so that they now create the smallest possible OS.nb from a 'dump' directory, and also write the partition table and MSFLSH header matching the new size.
...clip... make a ROM as small as at all possible, removing anything that users may not want, and turn every removed feature into a .cab that users can install to Storage...clip...
Cheers
Daniel
...clip...
Click to expand...
Click to collapse
Hello all,
I'm not sure if this post goes here, I posted this on the Hermes Mobile 6 forum, and received no responses, so I figure I would try it here.
I've been looking around, and searching the wiki, and I am still a little confused about this file. I have read a few good threads on how to do OEM packaging, but I am still a bit unsure on how to edit this .dat file.
With that being said if anyone could shed somemore light on the initflashfiles.dat file. Let's say I wanted to add 1-Calc Lite and I didn't want to cook via a gui, but by hand. (I like to do things the hard way, as I feel you learn more out of it. Just an 'Ole Marines way of thinking)
In the OEM folder of 1-Calc Lite there is an initflashfiles.txt file. It looks like this;
Directory("\Windows"):-Directory("Skins")
Directory("\Windows\Skins"):-File("default.ini","\Windows\default.ini")
Directory("\Windows\Skins"):-Directory("Default")
Directory("\Windows\Skins\Default"):-File("button.ini","\Windows\button.ini")
Directory("\Windows\Skins\Default"):-File("display_menu.png","\Windows\display_menu.png ")
Directory("\Windows\Skins\Default"):-File("texture2.png","\Windows\texture2.png")
Directory("\Windows"):-Directory("Currency")
Directory("\Windows\Currency"):-File("currency.ini","\Windows\currency.ini")
Directory("\Windows\Start Menu\Programs"):-File("1-Calc Lite.lnk","\Windows\1-Calc Lite.lnk")
Directory("\Windows\Help"):-File("1-Calc.lnk","\Windows\1-Calc.lnk")
Do I just insert that into the initflashfiles.dat file, and if so where exactly would I install that? The reason I ask this is because in looking at the 1-Calc file it looks like it creates a skins directory in the Windows folder, then it has the help directory, which I am thinking that that line goes into the windows\help directory in the .dat file. So if that is the logic behind it where would I put the skins directory from the .txt file into the .dat file? I know this is a bit all over the place, but I hope someone can decipher what I have written, and help me.
i need help with 2 oems s2u2 v.99c and s2v v0.32.
problem 1: s2u2 clock and weather has same png file names
problem 2: any oems i found install everything under windows folder I would
rather have them in \program files\ (i'm picky).
problem 3 they both have a file named ac_gd.dll.
I am using dcd's kitchen 1.6.10 (awesome program i have to donate soon, flawleess work keep it up dcd) and personal oemizer(don't know were this came from but also an excellent program). if no one wants to take this task atleast toss me a bone about what to do with all the dupl. file names so that i still get full functionality out of both programs I have made many successful oems and roms and as soon as i get these files figured out wouldnt mind posting some work for every one to check out. If you need additional info ill be back on about 1am send a mesg or leave post.
thanks in advance.
ps this is for wm6.0 not the 6.1 i love 6.1 but ill wit till les bugs.
1. You need to change the names of the picture files and then create an initflashfiles.txt file that changes the names of the files to the correct ones. FOr an example of this see the S2U2 OEM in the PPCGeeks OEM files for the Apache kitchen.
2. You can move them using an initflashfiles.txt file but then you would have 2 of all of those files using up memory.
3. Remove one.
OEMizer is from tierman from PPCGeeks.
brain fart
ahh ha so in the initflashfiles.txt all the dupl strings like
Directory("\Program Files\s2u2\gfx\clock\"):-File("0.png","\Windows\0.png")
could be changed to
Directory("\ProgramFiles\s2u2\gfx\clock\"):-File("0.png","\Windows\a0.png")
as long as I changed the original file name to a0.png.
so there is no conflict WOW should of seen that myself thanks blazingwolf life saver.
So I've spent the better part of the evening getting familiar with cooking ROMs--very cool! I cooked a few using PPCGeeks kitchen and played around with different things/options. I've kind of hit a road block--did some searches but really couldn't find anything solid that would guide me. Hopefully someone can point me in the right direction.
1) In the wiki, there are stock ROMs downloadable for Sprint. Is there any way to get the OEM packages that were used to build the ROM? Reason is that there are a few apps that I would like to have that I have not been able to locate that are in the stock ROM.
2) If I have the CAB for an app, is there an easy way to create an OEM package for it? I picked apart a CAB and it looks like it can be done manually but a couple of the CABs I have are pretty big with a ton of files.
Thanks!
Joe
Hey!
I'd recommend going on to ppckitchen.org and downloading their ppckitchen Kitchen. Once you download the application, run the update (if you're running Vista, you'll want to run that as an admin) which will download several rar files containing OEMs and ROM files. Be patient, they're big.
Once updated, navigate to the Kitchen install directory (mine is in C:\Program Files\PPCkitchen.org\BuildOS) and copy the OEM RAR files from the Kitchens directory to new location. I'd recommend the core, PPCKitchen_OEM, Carrier and Generic files as they contain most of what you'll be looking for.
Now, unrar the files and take the OEMs you want to your usual kitchen file (I use DCD 3.2.6). Be aware that some OEMs will not work with some ROMs and wil crash the BuildOS, so experiment and see what works for you. Also, take a look inside the PPCKitchen app (pay respect to the Master Chef) and see if the OEMs you want don't require prerequisite OEMs to be installed.
Voilá... dinner's served.
Hope this helps.
As for the CAB OEMizing, never done that, I pretty much scavenged everything I need. Maybe someone else can help us both.
drnoir said:
Hey!
I'd recommend going on to ppckitchen.org and downloading their ppckitchen Kitchen. Once you download the application, run the update (if you're running Vista, you'll want to run that as an admin) which will download several rar files containing OEMs and ROM files. Be patient, they're big.
Once updated, navigate to the Kitchen install directory (mine is in C:\Program Files\PPCkitchen.org\BuildOS) and copy the OEM RAR files from the Kitchens directory to new location. I'd recommend the core, PPCKitchen_OEM, Carrier and Generic files as they contain most of what you'll be looking for.
Now, unrar the files and take the OEMs you want to your usual kitchen file (I use DCD 3.2.6). Be aware that some OEMs will not work with some ROMs and wil crash the BuildOS, so experiment and see what works for you. Also, take a look inside the PPCKitchen app (pay respect to the Master Chef) and see if the OEMs you want don't require prerequisite OEMs to be installed.
Voilá... dinner's served.
Hope this helps.
As for the CAB OEMizing, never done that, I pretty much scavenged everything I need. Maybe someone else can help us both.
Click to expand...
Click to collapse
Thanks! I did all that already but I'm in "learning" mode right now so I wanted to try a bunch of different things out... one of which was creating OEM files from cabs.
joestop said:
Thanks! I did all that already but I'm in "learning" mode right now so I wanted to try a bunch of different things out... one of which was creating OEM files from cabs.
Click to expand...
Click to collapse
This is what you need. Its great! Turns CAB's into OEM's. Its what I use in my kitchens and ROMs.
http://forum.ppcgeeks.com/showthread.php?t=9830
Good Luck!
-Scott
scrosler said:
This is what you need. Its great! Turns CAB's into OEM's. Its what I use in my kitchens and ROMs.
http://forum.ppcgeeks.com/showthread.php?t=9830
Good Luck!
-Scott
Click to expand...
Click to collapse
THANK YOU!!!
I will say i haven't searched for this one yet but i probably will a little later if i don't get any quick responses.
Now to my question. I'm trying to create a cab file that i can use to install some registry changes from the performance tweak thread. The file is specifically based on the memory tweak cab file that is available there but because i use the energy standard 6.5.x series roms there are a couple of tweaks that cause the phone to stop booting correctly. So i have extracted all the original files and modified the xml file appropriately. I've then recompressed them into a new cab file but if i try to install it i get an "not installed successfully error" so obviously i'm doing something wrong but i have no idea what. Anyone got any ideas?
What software did you use to make the cab file?
I actually first tried to create it with winace and that was the problem. Winace just creates the cab as a storage file and not as an installable cab file. I've since searched coz i didn't get a quick reponse and found quickcab. Did the trick nicely. I've tested it on my phone and i've now posted the finished file in the energy rom thread. You will find it here: http://forum.xda-developers.com/showpost.php?p=8078336&postcount=24318
At beginning I create .caps I used QuickCap (in the attachment). In the .zip for you is the Programm and guide only in german but with pictures. I think you can understand it, its very simple. Now i used the WinCE CapMgr, but you must pay for it, so I can't share.
Bonito77 said:
At beginning I create .caps I used QuickCap (in the attachment). In the .zip for you is the Programm and guide only in german but with pictures. I think you can understand it, its very simple. Now i used the WinCE CapMgr, but you must pay for it, so I can't share.
Click to expand...
Click to collapse
Quickcab did it for me and i will continue to use until it my needs exceed it but i have to say i figured out to use it in about 10 seconds (literally). Kudos to the developers for making a very intuitive and easy to use program. Not many out there that are that specialised and that easy to use.