[Q] How to build a package for self registered cabs - XPERIA X1 ROM Development

Hello ROM chef masters,
I would like to add the panel manager and some selected panels to jerpelea's 6.5 21500 kitchen. I am having problems with the ActiveX Flash Deployment cab. As I understand, this cab contains registered DLLs. How do I specify that in the kitchen in order to correctly install the package. I used cab2pkg.exe to convert it to a package, but it does not seems to be right.
thanks in advance for the help

Afaik you can put the cab together with the dsm file in an OEM folder... so it installs itself after rom flash... (correct me if I'm wrong...)

Kid_DC said:
Afaik you can put the cab together with the dsm file in an OEM folder... so it installs itself after rom flash... (correct me if I'm wrong...)
Click to expand...
Click to collapse
Thanks for the help. I need the detail of how to put the cab and .dsm file. Searched and there isn't much details

resolved by modifying the config.txt so the cab will automatically install during customization phase. This is not optimal though, it uses double the ROM space. I wonder if there is any other better way...

hi, i think there's a package creator in the tools folder in jerpelea's kitchen (wm6.1 or wm6.5), i'm using that tool to convert my cabs to oem. maybe you can try that one.
regards,
twisted

twisted said:
hi, i think there's a package creator in the tools folder in jerpelea's kitchen (wm6.1 or wm6.5), i'm using that tool to convert my cabs to oem. maybe you can try that one.
regards,
twisted
Click to expand...
Click to collapse
I have tried package creator 5.4, it doesn't help. this cab is self registered, meaning that the registries are created by COM interface, not by the cab installation. The package creator or cab2pkg therefore can not find any registry in the _setup.xml file

Related

Making Rom Kitchen Components Cab Files For New ExtRom

My question is simple for all you rom makers out there. I want to be able to take Xplodes zip file of WindowsLive and turn in into a Cab so i can put in into ExtRom. I don't know how to do it with xplodes latest kitchen. I am sure someone knows and has probably taken some if not all components in the kitchen and made them cab files. Any help would be appreciated.
Rich

Cook any HIMALAYA ROM you LIKE

Himalaya Kitchen recook any HIMA ROM you like
I built a rom recooker, Well "2"
One for Himalaya, and one for Blue Angel "yes" BA That I'll B' on BA forum "Bye"
I have tested on both my BA,s and my HIMA bless IT, " been flashed some 50 or 60 times" both recooker's cook good rom's first time,
About the recooker's
A basic, Cooking from dump folder, it's all manual editing ! early wm5 style, Cooks WM 5.0 ' 6.0' 6.1 ROMs just like Ather90s kitchens it all runs from a single start.bat file, That has help text at every step' A walk through some TIPs, Comes with all required tools 'reg workshop' and 'HEX editors' that launch automaticaly at every step, File loaded and open ready to edit, Used tools and files are Backed UP and cleaned up at every step, keeping things nice and tidy, Full menu driven options, Once kitchen has been built to completion the kitchen will be ready !! And NOW ! You'll be making a coffee while the test rom flashes to your phone, 2 and milky for ME pls.
You can Make a COFFEE start this tool decompile your favorite ROM, Change "Say" desktop and splash screen's, of the Rom build and be flashing to your PHONE and your coffee's STILL too hot to Drink It's that simple
You can do moor advanced cooking than that i'm "no" programer and after reading about OEM_packages apply a bit of common sence ! your "COOKING"
I'v got HTC' calc, dialer, WMP, comm,s manager HTC today_*.TSK onscreen keyboard skin all cooked in now in the colors i want ! It took one evening for the BA, A bit of reading about editing ,*rgu ,*.reg and initflashfiles.dat the initflashfiles.dat is were you customize your program folders and move files to different folders Ie: WMP Skins need installing into wmp?? folder Download A WMP_oem and study IT u'll see
1 hr for the hima,
Please NOTE the test build is also part of the kitchen Setup process It takes 15 to 20 mins and if you do it "my way" it will work FIRST TIME Then you know your rom cooker works
Enjoy
Swampy395
Install reg editor first. Then "read" !! ReadMe First.txt in Kitchen_HIMA_0.1.0 folder Put in root of drive ie: c:\Kitchen_HIMA_0.1.0 for best results DO not rename any part or folders of this kitchen ! you can make your own Folders but not in the "dump" enjoy
P.S. If you don't see my custom images "set" windows default for today screen that should do it
Kitchen upgrade some new tools and help files added it shows more files than the old one, There are some files that are still hidden
don't unhide them or your rom won't work !
If you want to see the changes you will have to reset your kitchen (1) enter then (R) uppercase R enter this will delete any work you have !!
Download kitchen
Now ready for use, http://www.4shared.com/file/52947867/7f03114/Kitchen_HIMA_012.html
Decompilers added http://www.4shared.com/file/62625016/6b354ee0/Swampy395Decompiler.html
swampy395 said:
SORRY dam file upload trouble soon
Click to expand...
Click to collapse
When will be this Kitchen up for downloading...?
now
It's there now
swampy395 neeed help
First of all I wanna thank u for this amazing kitchen.
secondly,,, I created a package from a cab and the resultant folder has the same name and has many files. there are also a file with the dsm extension and another one with rgu extension. also there are " option file " and " intitialflashes " Too... So what files should be copied to the dump folder and which part of the lines written in the intitalfiles of the package should be copied ... take this example>
;*****************************************************************************
;initflashes.txt created with packages generator by ervius!!!
;package: ADO
;Help files:
;end of package: ADO
;*****************************************************************************
please help me.
Oweida said:
First of all I wanna thank u for this amazing kitchen.
secondly,,, I created a package from a cab and the resultant folder has the same name and has many files. there are also a file with the dsm extension and another one with rgu extension. also there are " option file " and " intitialflashes " Too... So what files should be copied to the dump folder and which part of the lines written in the intitalfiles of the package should be copied ... take this example>
;*****************************************************************************
;initflashes.txt created with packages generator by ervius!!!
;package: ADO
;Help files:
;end of package: ADO
;*****************************************************************************
please help me.
Click to expand...
Click to collapse
Hi and thank do have another read of "read me first".TXT and read the dos windows too, DSM delete it rgu copy to Kitchen_HIMA_0.1.0 folder then double click rgu to reg then double click the new *.reg file created and copy the entries into relivent sections of the registry take care to get them in the correct positions HKLM IN HKLM etc initflashfiles.txt your's is empty,thats OK, do nothing for this package ! this package has no need of entries you would copy and past into your initflashfiles check for double entries also delete the "option file " not required copy all other files to the dump. ervius tool is a good tool
P.S. did you do the test build and did it work first time thanks Swampy395
there is some text files in the tools folder from other kitchens just a bit more genaral info check on this site before editing ramdisk i don't use ramdisk myself but added the tools good luck
Download kitchen
Now ready for use said:
http://www.4shared.com/account/dir/7830949/6028aa9f/sharing.html[/url]
Click to expand...
Click to collapse
cant find the kitchen
where is the kitchen sir?
best regards
Try this one for WM6.0 and WM6.1
http://forum.xda-developers.com/showthread.php?t=378498
or, this one for WM6.5:
http://forum.xda-developers.com/showthread.php?t=519129
hallo muskelmaus,
habe bei mir dein das deutsches rom drauf,
ist klasse, danke dafür.
frage:
könntest/würdest du ein deusches update machen für unseren himalaya,
wehre echt klasse.
vg+danke im voraus
have with me your the german rom on it,
is great, thank you for that.
ask
could / would you do for one deusche update our himalaya,
wehre echt klasse.
vg + thank you in advance
update
repaired links 28/08/2009 (see post 1)
Guys this will let you edit any hima rom WM5.0--WM6.0--WM6.1--WM6.5
It's "NOT" a porting kitchen,
Only for editing rom's you can change many things with it, But the OS_build will allways be the same as when you started
kallo swampy395,
could you mak a ger-rom with out manila or titanium surfaces please.
best regards
hello swampy..
can you post the link of your latest wwe rom for hima..
tnx..

Jade SuperROM Kitchen v1.0 - CE 5.2.20765

Due to a few requests and because some Chefs may be struggling to port the XIP from the Iolite I've decided to release my SuperROM Kitchen.
This kitchen will build a Jade ROM with CE 5.2.20765 (Build 20765.1.4.4) OS and kernel.
All the Jade applications have been updated to the newer Iolite versions and Iolite's Footprints is included.
The XIP and SYS from the Iolite have been fully ported.
A few drivers remain from the European 1.40.405.3 ROM, the rest are updated.
Sample footprints, pictures, music and movies have been removed.
Opera and Google Maps have been removed and are included as CABS.
TIP: If you remove Footprints you can disable the Footprints Widget by setting enable to 0 in the Tabs section of the HTCHomeSettings.xml file.
Many thanks to udK for the original Jade Kitchen and to the following for their tools which without none of this would be possible.
bepe for his BuildOS & XIPPort
Dark Simpson for his HTC ROM Tool
misar for G'Reloc & M'Reloc
Olipro for his Hard-SPL
tupisdin for the shipped ROM
tadzio for ImgFS Tools
Jade SuperROM Kitchen v1.0
http://rapidshare.com/files/211611929/JadeSuperROM_Kitchen.rar
hello,thank you for your Package,but i have a question, what are X0-X9 ?
thanks again~
I also don't know about the following files,could you explain the functions for me pls :
PACKAGE_Iolite_CLL
PACKAGE_Iolite_zlibce_m
UpdateBlock
ShadowPkg
many thanks!
so if I copy some cabs in the folder CABS and then run buildrom.bat the applications (that cabs file) will be compiled/included in the rom?
ady_uaic said:
so if I copy some cabs in the folder CABS and then run buildrom.bat the applications (that cabs file) will be compiled/included in the rom?
Click to expand...
Click to collapse
No, the CAB folder just contains the two cabs removed from the build.
It's a bad idea to have cabs included in the ROM, i.e. Google Maps and Opera. When the device does it's first boot it installs these cabs but it can't delete the cab files as they're burnt into the ROM so you are wasting about 5MB of memory. The idea is to copy these to your Jade and install them after the first boot, the cabs can then be delete from the Jade.
ivenhu4859 said:
I also don't know about the following files,could you explain the functions for me pls :
PACKAGE_Iolite_CLL
PACKAGE_Iolite_zlibce_m
UpdateBlock
ShadowPkg
many thanks!
Click to expand...
Click to collapse
CLL has to do with Client Location, when you use the Footprints app it will try to determine your position using a few different methods, GPS, WiFi, CellID (it aks your permission the first time you use it). If it can determine your position it uses it as the default caption for the footprint.
zlibce seems to be a compression/decompression library that is probably used by another application.
UpdateBlock, ShadowPkg, X0 to X9. I don't know, they were in the original Iolite ROM so they're in the kitchen. You can probably delete them and your ROM will work fine although you'll save very little space.
I only took out Google Maps and Opera as it's pointless and a waste of space having CAB files burnt into the ROM when they can be installed after you've flashed your ROM.
thank you for your answer~
but i got new one:
is there any solution to stop Activesync popping up automatically??
fake server setting seems not work for me ~
thanks~
so do I have to copy my part01 and 02 in the kitchen? or it's enough to "build.bat" and the rom is ready? If that so, what's the point of "kitchen"? and what is exactly these "footprints" ?
ivenhu4859 said:
thank you for your answer~
but i got new one:
is there any solution to stop Activesync popping up automatically??
fake server setting seems not work for me ~
thanks~
Click to expand...
Click to collapse
This has nothing to do with the SuperROM Kitchen... Why don't you just tick the 'Don't ask me again box' when ActiveSync pops up?
ady_uaic said:
so do I have to copy my part01 and 02 in the kitchen? or it's enough to "build.bat" and the rom is ready? If that so, what's the point of "kitchen"? and what is exactly these "footprints" ?
Click to expand...
Click to collapse
No, you don't copy anything from your ROM into the kitchen, the idea is that you take things out if you want a 'lite' version.
If you want to know what Footprints is then I suggest you build a ROM in my kitchen, install it and have a play around... or have a look at http://www.youtube.com/watch?v=YITWCZxvHz0, not the same phone but you'll see a footprints demo about 1 minute into the movie.
yeap, really great. so this rom is exactly as it comes (in other words is kitchen for jade with iolite (footprints) features) and we will modify it as we want, or let it as it is. and footprints will use automatically the gps, to take the coordonates?
Footprints
Does anybody have a problem with footprints?
It wont start up on my jade
If i want to make a new picture nothing happens.
Sermpie said:
Does anybody have a problem with footprints?
It wont start up on my jade
If i want to make a new picture nothing happens.
Click to expand...
Click to collapse
Sounds like you may have removed FOOTCAM?
ady_uaic said:
yeap, really great. so this rom is exactly as it comes (in other words is kitchen for jade with iolite (footprints) features) and we will modify it as we want, or let it as it is. and footprints will use automatically the gps, to take the coordonates?
Click to expand...
Click to collapse
It's not just 'Kitchen for Jade' plus Footprints, everything is updated including newer OS and kernel.
Footprints will automatically use the GPS, it will also use AGPS if you agree to it the first time you use footprints (and yes you can switch off the AGPS later if you don't want it). You can't switch of the GPS as otherwise Footprints would just be a camera!
Footprints
Jademan said:
Sounds like you may have removed FOOTCAM?
Click to expand...
Click to collapse
Nope i have not removed footcam.
hahaha its strange.
I can start up footprints, but when i want to make a picture and enter the new button nothing happens
I try to install again.
Thnx anyways
Jademan said:
This has nothing to do with the SuperROM Kitchen... Why don't you just tick the 'Don't ask me again box' when ActiveSync pops up?
Click to expand...
Click to collapse
What i mean is:
When I start up the HTC Touch 3G, ActiveSync is running. I stop it, but sooner or later it will show up in the Tasks running again. I'll leave the HTC Touch 3G alone for awhile, come back and ActiveSync is running again.
I did the ActiveSync Fake server Trick(Fake IP, Set schedules to Manual, etc..), but that didn't help.
Sorry for my poor English~
maybe someone can help me: i'm trying to make my own rom, and i have a problem: i've made oem packages from the cabs, and i've copied the entire folder (with all files including .dsm and .rgu) into OEM folder, and after that, i've pressed BuildROM.bat but appears an error at one of the application (i've included 5): The file 'temp\dump\SETUPDLL.dll' allready exists. Yes, I have this file on 3 applications folders. How can i solved it? I supose if I will delete from 2 applications folders the "setupdll.dll" file, the app will not work anymore correctly. Please help me.
ady_uaic said:
maybe someone can help me: i'm trying to make my own rom, and i have a problem: i've made oem packages from the cabs, and i've copied the entire folder (with all files including .dsm and .rgu) into OEM folder, and after that, i've pressed BuildROM.bat but appears an error at one of the application (i've included 5): The file 'temp\dump\SETUPDLL.dll' allready exists. Yes, I have this file on 3 applications folders. How can i solved it? I supose if I will delete from 2 applications folders the "setupdll.dll" file, the app will not work anymore correctly. Please help me.
Click to expand...
Click to collapse
I'd suggest you do some reading on how to convert cabs to packages and vice versa
http://forum.xda-developers.com/showthread.php?t=467842
i will try that variant too, but, for moment i want to know what should i do with what i've converted. look on the attachament to see if i need only that 2 files, or entire directory.
a problem that i have at finalisation of the compilation: see attachament.

[Solved]HTC Topaz - How to rebuild a dumped ROM

I see a lot of requests here about rebuilding dumped ROM's.
With the help of !Aman! I created a small tool that should make it easier!
See the the WIKI HTC Topaz - How to rebuild a dumped ROM for an explanation and use the attached package which has all the tools you need and a batch file to do the job for you.
Extension:
If you have an extracted RadioROM as nbh file or want to add a specific Radio ROM to your rebuilded ROM, but the Radio.nbh file into the folder BaseROM and it will be automatically added.
i guess you can also upload the template os.nb.payload required. it will make the job easier.
!Aman! said:
i guess you can also upload the template os.nb.payload required. it will make the job easier.
Click to expand...
Click to collapse
Good idea. Will change the package and test it.
Becomes clearer with it and more rebuildable !!
Thank you for the hard work.
You make backing up possible for all noobs like me
Hi there, can this utility transfer the os-new.nb into ruu_signed.nbh ? If yes, how. Thanks.
chihliouma said:
Hi there, can this utility transfer the os-new.nb into ruu_signed.nbh ? If yes, how. Thanks.
Click to expand...
Click to collapse
it is not made for this. To do this you need a tool like nbhutil to do it.

osKitchen v1.30Alpha3 for HD Mini

Update: you can find a newer 1.31 final on the osKitchen Zero thread (linked above). I strongly suggest to use that version because it has tons of fixes and improvements that also affect HD mini ROMs.
Remember to run it as administrator (if you don't import may fail), to import the latest stock ROM for your language and read the instructions from the osKitchen Zero thread if you have never used it.
Happy cooking!
So, 26 downloads after, can somebody please confirm if it rebuilds a booting ROM like expected?
Hi, i have tested my first rom cookie, i have change de original rom pt, i removed de copilot from de rom and de google maps.
All work fine
works perfectly
hi all,
works perfectly, turning now to the mini build 23569 without problems
greatz,
rudie
I've tried to import the rom into the kitchen and i get this error: "Error while importing the ROM file: Can't extract files or build packages from IMGFS structure. Please make sure the ROM is not corrupted, that it's an original ROM update released by the manufacturer and not an user-generated ROM." I've downloaded the rom from this link http://shipped-roms.com/shipped/Photon/ and the rom is this http://shipped-roms.com/shipped/Pho...adio_Signed_32.2802.05.06_0.63.05.35_Ship.exe Why do i get this error? I'm working under Windows 7 and run the kitchen as an administrator. Any help please?
hengelo said:
hi all,
works perfectly, turning now to the mini build 23569 without problems
Click to expand...
Click to collapse
Hi, where u find the build 23569 for hd mini (photon) ?
SoftWord said:
Hi, where u find the build 23569 for hd mini (photon) ?
Click to expand...
Click to collapse
The windows mobile builds are not phone-specific. You need to get the rollup file and import it with the Windows Mobile dump importing tool inside the kitchen.
Here is the link to the 23569 build http://www.mobileunderground.info/asusmobile/23569_MSXIPKernel_SYS_QVGA_WQVGA_VGA_WVGA_0409.7z , remember that this dump is english only, if you want other languages you should get 23563 from here: http://forum.xda-developers.com/showthread.php?t=544445 (don't copy&paste languages between the twos!).
The first dump is in the ervius kitchen format, the second is in the Da_G all-in-one format.
Ur my hero !!!!!!!!
airxtreme said:
The windows mobile builds are not phone-specific.
Click to expand...
Click to collapse
I know , but the drivers ??? And strange HVGA resolution ?
airxtreme said:
You need to get the rollup file and import it with the Windows Mobile dump importing tool inside the kitchen.
....
The first dump is in the ervius kitchen format, the second is in the Da_G all-in-one format.
Click to expand...
Click to collapse
Can u make a guide-specific for Photon / Mini ? I'm not noob in modding of devices, but in WM devices yes.......
SoftWord said:
I know , but the drivers ???
Click to expand...
Click to collapse
The drivers are stored in a different section in the kitchen (OEM) so you can freely change the windows mobile build.
SoftWord said:
And strange HVGA resolution ?
Click to expand...
Click to collapse
I think that 23563 has the resolution files for that resolution, 23569 probably doesn't but you could try copying the resolution folders from 23563 (which I don't reccommend).
SoftWord said:
Can u make a guide-specific for Photon / Mini ? I'm not noob in modding of devices, but in WM devices yes.......
Click to expand...
Click to collapse
You just have to import the ROM file, select all the available entries in the Project Settings screen then import the other windows mobile build (Import Windows Mobile Build button), chose it from the combobox in the windows mobile build, hit Start building and hopefully you'll have a NBH ready to flash. If you only want to change the windows mobile build as long as the device doesn't have any program causing trouble it's really simple.
@airxtreme
when i selected my device (HD mini) the program suggested that 3 apps should be recmodded. Can you explain what this exactly is? Is it necessary? The only thing i want to do with your kitchen is remove some apps from the original rom. These apps are: Copilot, jblend ect. All i have to do is just remove these from the ext packages list? Thank's
Edit: I forgot to ask you something else, is the original rom compressed? In my case (just want to remove some apps from the original rom and nothing else) should i choose a compression? What do you suggest?
ty for ur help, I have found this build too:
"28233_MSXIPKernel_SYS_QVGA_WQVGA_VGA_WVGA_0409"
U think that is ok for Photon ?
zalaros said:
@airxtreme
when i selected my device (HD mini) the program suggested that 3 apps should be recmodded. Can you explain what this exactly is? Is it necessary? The only thing i want to do with your kitchen is remove some apps from the original rom. These apps are: Copilot, jblend ect. All i have to do is just remove these from the ext packages list? Thank's
Click to expand...
Click to collapse
Yes it is necessary that you click on Yes or the rom won't boot.
zalaros said:
Edit: I forgot to ask you something else, is the original rom compressed? In my case (just want to remove some apps from the original rom and nothing else) should i choose a compression? What do you suggest?
Click to expand...
Click to collapse
The HD mini original rom is compressed with XPR so you'd better put that if you don't want a slower ROM with LZX. If you want to remove apps and those applications are stored in Cabs you will have to edit the config*.txt files in other packages to remove the reference to the cab you removed or the rom will hang during boot at the progress bar saying the cab cannot be found.
SoftWord said:
ty for ur help, I have found this build too:
"28233_MSXIPKernel_SYS_QVGA_WQVGA_VGA_WVGA_0409"
U think that is ok for Photon ?
Click to expand...
Click to collapse
That build is very old (the newest is the 235xx branch) and since the name doesn't have HVGA in it then it probably doesn't have the resolution files for your device.
Location initflashfiles.dat file
Hoi all,
hi all,
anyone know the location of the initflashfiles.dat file, or use this kitchen that file.
Would like extra folders, etc to give an icon ...
gr,
Rudie
hengelo said:
Hoi all,
hi all,
anyone know the location of the initflashfiles.dat file, or use this kitchen that file.
Would like extra folders, etc to give an icon ...
gr,
Rudie
Click to expand...
Click to collapse
The initflashfiles is in the OEM_Lang_XXXX OEM package.
airxtreme said:
You just have to import the ROM file.........
Click to expand...
Click to collapse
I don't have understand only this step, which rom I have to load ? My original ITA from NBH of my first original shipped rom ?
airxtreme said:
If you want to remove apps and those applications are stored in Cabs you will have to edit the config*.txt files in other packages to remove the reference to the cab you removed or the rom will hang during boot at the progress bar saying the cab cannot be found.
Click to expand...
Click to collapse
All the apps i want to remove are in EXT packages. The rom i wish to customize (by removing a couple of apps only) is original. So are there any apps stored in Cabs? And is there a config*.txt file? Because i can't find them.
SoftWord said:
I don't have understand only this step, which rom I have to load ? My original ITA from NBH of my first original shipped rom ?
Click to expand...
Click to collapse
You should import the latest italian ROM update and you can directly import the updater (EXE) file.
zalaros said:
All the apps i want to remove are in EXT packages. The rom i wish to customize (by removing a couple of apps only) is original. So are there any apps stored in Cabs? And is there a config*.txt file? Because i can't find them.
Click to expand...
Click to collapse
I just looked and strangely this phone like the HD2 doesn't seem to use cab files (so no need to mess with config*.txt files) but that still doesn't make stuff easier: for example if you want to remove copilot you have to edit the INITFLASHFILES.DAT file (you can find it in the OEM\OEM_Lang_something folder) and remove all the "CoPilot V8.0" section from it.
airxtreme said:
I just looked and strangely this phone like the HD2 doesn't seem to use cab files (so no need to mess with config*.txt files) but that still doesn't make stuff easier: for example if you want to remove copilot you have to edit the INITFLASHFILES.DAT file (you can find it in the OEM\OEM_Lang_something folder) and remove all the "CoPilot V8.0" section from it.
Click to expand...
Click to collapse
Well to be honest all i wish to remove is Copilot and Jblend (anything tricky for this one?). The weird thing is that there is no INITFLASHFILES.DAT in the OEM\OEM_Lang_0409 folder. I think i'll just remove these two from the Ext packages and try to flash the rom. Then i'll tell you what went wrong or not I don't want to bother you anymore

Categories

Resources