New tools for ROM builders - ROM package <--> cab converters and more, Fresh from SztupY laboratories |
![]() ![]() |
New tools for ROM builders - ROM package <--> cab converters and more, Fresh from SztupY laboratories |
|
Jan 5 2009, 20:44
Post
#1
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
these tools will let you create ROM package and install CAB files from each other. I know there are already tools for them, but I didn't like them, because they had many errors. Of course my programs may have errors too, but I like them better anyway
cab2pkg This utility will extract a cab and create a ROM package. (just like ervius package creator, but this doesn't rely on MSCEInfEn which imho has a lot of bugs). Simply tell him the cab file name as parameter, and it will extract into a new directory. (Or if you don't like the command prompt, simply drag the cab onto this file, and it'll extract it) pkg2cab This utility does the reverse of the above. It creates a cab installer from a ROM package. Usage: pkg2cab [Application Name] [Directory1] {Optional directory 2} {...} For example: pkg2cab OneNote OneNote OneNote_lang_0409 If everything goes fine the programs should create a setup.cab pkg2cab does only support "flat" directories, so if your directory contains modules (directories that look like files), then you have to copy the file out of them manually, and delete the directory extractpkg This application will extract a package from a ROM, using a SYAKR file removal information file XML Put this application into a kitchen with an extracted ROM and SYAKR Enter command prompt and enter "extractpkg XMLfilenamewithoutextension" so for example if you want to extract the fmradio, you should write: "extractpkg fmradio" This app does the same as SYAKR, but instead of deleting the files/registry settings/initff lines, it will copy them to a separate directory, and adds the appropriate things that are needed for a package, that BuildOs likes BEWARE! The current SYAKR tasks are not designed for extractpkg to work, and sometimes the extraction might fail, or the created package would be defective. If so, please try to correct the XML file! After you extracted a package you might use pkg2cab to create a distributable CAB installer DL link: http://winmo.sztupy.hu/cabtools.html -------------------- |
||
|
|
|||
|
Jan 5 2009, 20:47
Post
#2
|
||
|
Enthusiast Group: Posters Posts: 249 Favorited Topics: 13 Joined: 16th September 2008 Member No.: 426,693 Device(s): Samsung i900 |
congratulations, sztupy!!!
another amazing tool you provide to the community! |
||
|
|
|||
|
Jan 5 2009, 21:30
Post
#3
|
||
![]() Hardcore Group: MoDaCo Ad Free Posts: 2,448 Favorited Topics: 44 Joined: 21st September 2008 From: UK Member No.: 428,798 Device(s): Too many Twitter: @shokka9 |
HERO!!!
I knew you were working on something good!! I think you just making tools for me really! Downloading now, looks like i may be flashing my Omnia sooner rather than later, need to use your appz in one go. Congrats on doing this and keep it up, next i need a whole new GUI, like HTC, but better! I know you can do it. you done it again.... -------------------- Catch me on twitter too - @shokka9
PLEASE VISIT THIS SITE AND TRY TO MAKE THIS AS PUBLIC AS YOU CAN THIS IS MY YOUTUBE CHANNEL - FREE YOUR MIND! - CLICK HERE |
||
|
|
|||
|
Jan 5 2009, 21:34
Post
#4
|
||
|
Addict Group: Posters Posts: 572 Joined: 18th June 2007 Member No.: 268,112 Device(s): Samsung Omnia |
the last one will help creating better tasks, by letting us test those packages on other devices
good job dude |
||
|
|
|||
|
Jan 6 2009, 18:20
Post
#5
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
It seems makecab is needed for the applications to work properly. Attached.
Attached File(s)
|
||
|
|
|||
|
Jan 13 2009, 22:09
Post
#6
|
||
|
Regular Group: Posters Posts: 91 Favorited Topics: 4 Joined: 9th September 2008 Member No.: 424,770 |
It seems makecab is needed for the applications to work properly. Attached. Hi Sztupy , first , sorry for my poor english . I am a newbie and I have used your fantastic tool ( syakr 0.9 pack 2 ) to make my own custom ROM ; all was fine , with M2D , I have 135 MB free in storage and about 62 Mb free in programs . Now , I would like to go further in customing and be able to install my own apps , like PHM registry , port splitter and somme others ones ; I have read the Xda post about OEM Packages but you said in first post that the software was very buggy . So I tried to use yours ( cab2pkg ) : my problem is , although all versions of Microsoft .Net Framework ( 1.1 ,2.0 SP2 , 3.0 SP2 , 3.5 SP1 ) and VC++ 2005 redistributable and 2008 redistributable are installed on my XP desktop PC , when I drag a cab on cab2pkg , a DOS window is opened but close itself within one second ; what I am doing wrong ? I have tried to create a new folder on desktop , one at the root of disk C , each one contains all the tools packaged in your first post and makecab too Many thanks for your magical tools and for the great support for all the Omnia Users Regards , Philippe |
||
|
|
|||
|
Jan 13 2009, 22:19
Post
#7
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
Hi Sztupy , first , sorry for my poor english . I am a newbie and I have used your fantastic tool ( syakr 0.9 pack 2 ) to make my own custom ROM ; all was fine , with M2D , I have 135 MB free in storage and about 62 Mb free in programs . Now , I would like to go further in customing and be able to install my own apps , like PHM registry , port splitter and somme others ones ; I have read the Xda post about OEM Packages but you said in first post that the software was very buggy . So I tried to use yours ( cab2pkg ) : my problem is , although all versions of Microsoft .Net Framework ( 1.1 ,2.0 SP2 , 3.0 SP2 , 3.5 SP1 ) and VC++ 2005 redistributable and 2008 redistributable are installed on my XP desktop PC , when I drag a cab on cab2pkg , a DOS window is opened but close itself within one second ; what I am doing wrong ? I have tried to create a new folder on desktop , one at the root of disk C , each one contains all the tools packaged in your first post and makecab too Many thanks for your magical tools and for the great support for all the Omnia Users Regards , Philippe Copy all files to the i900 kitchen then run Shell.cmd In the shell run the application (like cab2pkg something.cab) and check what it does. It should report some errors. |
||
|
|
|||
|
Jan 13 2009, 22:22
Post
#8
|
||
|
Regular Group: Posters Posts: 91 Favorited Topics: 4 Joined: 9th September 2008 Member No.: 424,770 |
|||
|
|
|||
|
Jan 13 2009, 22:44
Post
#9
|
||
|
Regular Group: Posters Posts: 91 Favorited Topics: 4 Joined: 9th September 2008 Member No.: 424,770 |
Thanks for your quick reply , I try this and report feed back Sorry , I had errors with image shackert Screenshots attached
Attached File(s)
|
||
|
|
|||
|
Jan 13 2009, 22:51
Post
#10
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
Sorry , I had errors with image shackert Screenshots attached Two comments: 1. You have to extract all files from CabTools0.1 cab2pkg uses cabarc to work. 2. cab2pkg uses _setup.xml files to extract the package. Unfortunately PHM registry editor doesn't use setup.xml files, so you have to resort back to ervius package creator. |
||
|
|
|||
|
Jan 13 2009, 22:51
Post
#11
|
||
|
Newbie Group: Posters Posts: 26 Joined: 9th September 2008 Member No.: 424,542 Device(s): i900 - Fr HH4 custom |
Sorry , I had errors with image shackert Screenshots attached Hi Philippe Pechabrier (fait gaffe dans tes captures maybe you can try with short filename for your cab file (less than 8 char), and for the entire path too. For example, move everything in a root directory, like c:\I900. tell us if it works |
||
|
|
|||
|
Jan 13 2009, 22:58
Post
#12
|
||
|
Regular Group: Posters Posts: 91 Favorited Topics: 4 Joined: 9th September 2008 Member No.: 424,770 |
Hi Philippe Pechabrier (fait gaffe dans tes captures maybe you can try with short filename for your cab file (less than 8 char), and for the entire path too. For example, move everything in a root directory, like c:\I900. tell us if it works Many thanks for your help ; I try it |
||
|
|
|||
|
Jan 13 2009, 23:04
Post
#13
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
|||
|
|
|||
|
Jan 13 2009, 23:18
Post
#14
|
||
|
Regular Group: Posters Posts: 91 Favorited Topics: 4 Joined: 9th September 2008 Member No.: 424,770 |
It ' s OK : by putting the kitchen at the root of disk C , it works with the iContact .cab , a new folder is created in the kitchen
Sorry I' m a pure noob ( but I love to learn ) , it may be trivial for you but I' d like to know whether it's possible , how to do to create a package for port splitter which is not a cab but an .exe that must be installed from the PC This post has been edited by pepech: Jan 13 2009, 23:22 |
||
|
|
|||
|
Jan 13 2009, 23:25
Post
#15
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
It ' s OK : by putting the kitchen at the root of disk C , it works with the iContact .cab , a new folder is created in the kitchen Sorry I' m a pure noob ( but I love to learn ) , it may be trivial for you but I' d like to know wheter it's possible , how to do to create a package for port splitter which is not a cab but an .exe that must be installed from the PC If it's a standard PC isntaller, it should have isntalled the cab file to your PC somewhere. If it's not a standard installer you have to track down the changes the installer does to your device. Here is a utility for this: http://winmo.sztupy.hu/regtree.html Run it before the instal,, then after the install (takes about a minute), then copy the two new dimp files from the root of the device, and check the differences between them (use a diff tool). You have to manually create the registry entries after that though, so it's not an easy task. |
||
|
|
|||
|
Jan 13 2009, 23:42
Post
#16
|
||
|
Regular Group: Posters Posts: 91 Favorited Topics: 4 Joined: 9th September 2008 Member No.: 424,770 |
Thanks a lot Sztupy , I think I have no time enough to test it tonight , but probably tomorrow . I will send feedback anyway ; once more time , sorry for asking so basic questions , I' have already seen hundreds of threads about it , on Modaco , Xda but English is not my native language , I discovered WinMo four months ago , and although my job is far from this , I' m very enthusiast about learning more and more
Regards , Philippe |
||
|
|
|||
|
Jan 14 2009, 10:32
Post
#17
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
V0.2 released with some miner fixes.cab2pkg will now work with InstallDir variables too. (most of the official cabs are like that)
http://winmo.sztupy.hu/cabtools.html |
||
|
|
|||
Jan 14 2009, 10:47
Post
#18
|
|||
![]() Hardcore Group: Moderator Team Posts: 2,312 Favorited Topics: 183 Joined: 18th September 2005 Member No.: 150,032 Device(s): Samsung Omnia |
<3 thanks man
-------------------- |
||
|
|
|||
|
Jan 16 2009, 07:28
Post
#19
|
||
|
Diehard Group: Posters Posts: 463 Favorited Topics: 24 Joined: 16th December 2008 From: Budapest Member No.: 465,894 Device(s): SGH-i900; HTC Touch Pro |
Found a "small" error in cab2pkg which I didn't realise yet. It ceates an .rgu file with this header: "Windows Registry Editor Version 5.00"
Seems like BuildOs doesn't like this. Replace this line with "REGEDIT4" (or if the registry is empty simply truncate the file) (thx lastnikita) This post has been edited by sztupy: Jan 16 2009, 07:29 |
||
|
|
|||
Jan 16 2009, 08:17
Post
#20
|
|||
![]() Hardcore Group: Moderator Team Posts: 2,312 Favorited Topics: 183 Joined: 18th September 2005 Member No.: 150,032 Device(s): Samsung Omnia |
Need to mention that there are no new lines after each node.
|
||
|
|
|||
![]() ![]() |
Similar Topics
| Topic | Replies | Topic Starter | Views | Last Action | |
|---|---|---|---|---|---|
![]() |
Poll: [31.08.2010][New Release] JMLToday contable skin/mod V3.0 |
518 | contable | 66,733 | Yesterday, 22:53 Last post by: Del1701 |
![]() |
Base Rom-5/13/2010 Lite Rom-5/13/2010 |
473 | amdzero | 24,303 | Today, 00:11 Last post by: Mr.DunnDunn |
![]() |
JG5: 6.5 (21914) & 6.5.3 (23133) |
241 | shadowangel | 14,787 | Yesterday, 23:33 Last post by: LFossatti |
![]() |
|
50 | givesoft | 6,089 | Yesterday, 22:19 Last post by: rom_omnia2 |
![]() |
|
16 | itsme_4ucz | 491 | Yesterday, 22:40 Last post by: chokia |
![]() |
Windows Live for Windows Mobile on Samsung Omnia II I8000 | 0 | Yce | 9 | Today, 00:07 Last post by: Yce |
|
Lo-Fi Version | Time is now: 3rd September 2010 - 00:17 |
Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!
ActiveKitten |
Binaryfish |
Conduits |
DeveloperOne |
eSoft Interactive |
FTouchSL |
Inesoft |
LastPass
Lingvosoft |
monocube |
OmegaOne |
Omnisoft |
Opera Software |
Resco |
SBSH |
Splashdata
Sprite Software |
Syncdata |
Teksoft |
Titanium Backup |
VITO |
WalkingHotSpot |
WebIS |
z4soft
Would your company like to become a 'Plus Partner'? Click Here to contact us!