PDA

View Full Version : Install .cab during Customization?


opgadgets
19th July 2008, 10:29 PM
I would also like to know how to install a .cab during Customization (in 3 seconds). Does anyone know how?

opgadgets
20th July 2008, 12:03 AM
anyone? :confused:

ryncppr
20th July 2008, 10:35 AM
What do you mean by converting a .tsk????

Just put the .tsk in the OEMOperators Package instead of the one the ROM does and change the config file...i

opgadgets
20th July 2008, 12:11 PM
yeah, i dont think that "convert" was the best word choice, but i basically just wanted to use a custom theme in my rom and was wondering how to do that. ill give this a shot, though

opgadgets
20th July 2008, 10:25 PM
What do you mean by converting a .tsk????

Just put the .tsk in the OEMOperators Package instead of the one the ROM does and change the config file...i

I can't find that package, where is it?:(

opgadgets
21st July 2008, 01:38 AM
ok, sorry, I found it and changed the theme successfully. Now, I might as well ask this one question:

is there any way to install a .cab to the device while the device is configuring during the first startup? That way users can uninstall it if they want to?:confused:

opgadgets
21st July 2008, 03:40 AM
im sory, but does anyone have the answer for this? im pretty sure laurentius26 uses it in his roms, but thid thread has had 150+ views and no respnses other than mine on one other one...

raiisak
21st July 2008, 03:55 AM
For OEM you could make an cab of it then use packages creator 5.4.exe Might not be the simplest solution but..
For UC use the cab you made above :D

Atleast now you have something to go on.

opgadgets
21st July 2008, 02:25 PM
For OEM you could make an cab of it then use packages creator 5.4.exe Might not be the simplest solution but..
For UC use the cab you made above :D

Atleast now you have something to go on.

is this the solution for the theme? because I have figured that one out:D Now I'm looking for a way to install .cab's when the device says "It will configure your device in three seconds."

yardie.spike
24th July 2008, 01:08 PM
ok, sorry, I found it and changed the theme successfully. Now, I might as well ask this one question:

is there any way to install a .cab to the device while the device is configuring during the first startup? That way users can uninstall it if they want to?:confused:

Use kaiserkitchen. Run KAISERKITCHEN.cmd and choose p option then open the cab. if you need more info read. All the info you need is here already.

raiisak
24th July 2008, 01:27 PM
is this the solution for the theme? because I have figured that one out:D Now I'm looking for a way to install .cab's when the device says "It will configure your device in three seconds."

Check config_operator.txt under kaiserkitchen\OEM\OperatorPKG

opgadgets
25th July 2008, 03:24 AM
Check config_operator.txt under kaiserkitchen\OEM\OperatorPKG

I can't seem to find that file :confused:

fiendz
25th July 2008, 04:26 AM
There are two methods you can use to cook a cab into the customization install.
To hardcode the cab into the install locate the config.txt and add a line for your cab. The formatting is pretty self explanatory once you look in the file itself, or to be more user friendly and allow used to decide whether or not they want to install the cab in the first place rather than just make it uninstallable go here (http://forum.xda-developers.com/showthread.php?t=366333) and include the cab(s) in a separate UC package.

ModsSuk
25th July 2008, 04:42 AM
there is no reason for a .cab what so ever just put your .tsk in the rom dump (dont even use package tools) and edit the config to your .tsk its really simple as the config.txt all ready has a line that installs the defualt .tsk so just edit that to the name of your .tsk lets say custom.tsk

opgadgets
25th July 2008, 06:09 AM
There are two methods you can use to cook a cab into the customization install.
To hardcode the cab into the install locate the config.txt and add a line for your cab. The formatting is pretty self explanatory once you look in the file itself, or to be more user friendly and allow used to decide whether or not they want to install the cab in the first place rather than just make it uninstallable go here (http://forum.xda-developers.com/showthread.php?t=366333) and include the cab(s) in a separate UC package.

Ok I'm going to go for the first method. Now, is the config.txt in the Tier Install Package folder?

opgadgets
25th July 2008, 06:26 AM
anyone? all I want to know is how to install .cab files while the "device is configuring please wait..." during an initial hard reset/flash :confused:

raiisak
25th July 2008, 06:46 AM
anyone? all I want to know is how to install .cab files while the "device is configuring please wait..." during an initial hard reset/flash :confused:

We told you already mate...

Open: C:\kaiserkitchen\OEM\OEMAPPS\Config_AP.txt

You will se something like this:
CAB: \WINDOWS\CVC-PPC-WWE-705142-DopodPPC.CAB
CFG: \Windows\config.txt

CVC-PPC-WWE-705142-DopodPPC.CAB is actually cyberon voice command

Now what you do is:

1. Place youre cab here: C:\kaiserkitchen\OEM\OEMAPPS
(let call it: search4answer.cab)
Now you have search4answer.cab in youre C:\kaiserkitchen\OEM\OEMAPPS folder.

2. Open: C:\kaiserkitchen\OEM\OEMAPPS\Config_AP.txt
and insert the name of the cab.
CAB: \WINDOWS\CVC-PPC-WWE-705142-DopodPPC.CAB
CAB: \WINDOWS\search4answer.cab
CFG: \Windows\config.txt

Remember Config_AP.txt is locked, unlock it and lock after you have edited.

Close all, and cook it up. Now youre cab will be installed under what you call 1-2-3 customization install.
The cab will be uninstable if you flaged it to be so.

GL.

slovoflud
25th July 2008, 07:20 AM
The cab will be uninstable if you flaged it to be so.


A little off topic, but i always wondered why chefs don't make most of their cooked cabs uninstallable. Coz' there's always a program or two (or 10) that you don't use, but you like the rom and stick with it. having a dosen programs you never use is a waste...
question to cooks :)

raiisak
25th July 2008, 07:25 AM
A little off topic, but i always wondered why chefs don't make most of their cooked cabs uninstallable. Coz' there's always a program or two (or 10) that you don't use, but you like the rom and stick with it. having a dosen programs you never use is a waste...
question to cooks :)

Bether rom performance when cooked in :) Metod above is not what we call "cooked in".

opgadgets
25th July 2008, 11:17 AM
We told you already mate...

Open: C:\kaiserkitchen\OEM\OEMAPPS\Config_AP.txt

You will se something like this:
CAB: \WINDOWS\CVC-PPC-WWE-705142-DopodPPC.CAB
CFG: \Windows\config.txt

CVC-PPC-WWE-705142-DopodPPC.CAB is actually cyberon voice command

Now what you do is:

1. Place youre cab here: C:\kaiserkitchen\OEM\OEMAPPS
(let call it: search4answer.cab)
Now you have search4answer.cab in youre C:\kaiserkitchen\OEM\OEMAPPS folder.

2. Open: C:\kaiserkitchen\OEM\OEMAPPS\Config_AP.txt
and insert the name of the cab.
CAB: \WINDOWS\CVC-PPC-WWE-705142-DopodPPC.CAB
CAB: \WINDOWS\search4answer.cab
CFG: \Windows\config.txt

Remember Config_AP.txt is locked, unlock it and lock after you have edited.

Close all, and cook it up. Now youre cab will be installed under what you call 1-2-3 customization install.
The cab will be uninstable if you flaged it to be so.

GL.

thanks a lot raiisak!

however, it's not working. For example, I placed a custom-made .cab file in OEMAPPS, then told the config.txt file to load that, but it didn't work. Any suggestions?

Oh, and I still can't figure out how to get the darned theme to load as the default theme...

jcespi2005
25th July 2008, 11:33 AM
thanks a lot raiisak!

however, it's not working. For example, I placed a custom-made .cab file in OEMAPPS, then told the config.txt file to load that, but it didn't work. Any suggestions?

Oh, and I still can't figure out how to get the darned theme to load as the default theme...

I remember the CAB you choose/create must be signed to work...

Cheers

raiisak
26th July 2008, 07:08 PM
thanks a lot raiisak!

however, it's not working. For example, I placed a custom-made .cab file in OEMAPPS, then told the config.txt file to load that, but it didn't work. Any suggestions?

Oh, and I still can't figure out how to get the darned theme to load as the default theme...

I remember the CAB you choose/create must be signed to work...

Cheers

Yes, specialy since youre cab contains unsigned .dll`s ;)

Do you know how to sign? If not post it here and I will sign it for you and repost cab + package.

mbarvian
26th July 2008, 07:25 PM
Yes, specialy since youre cab contains unsigned .dll`s ;)

Do you know how to sign? If not post it here and I will sign it for you and repost cab + package.

how DO you sign .cabs?

opgadgets
26th July 2008, 07:27 PM
Yes, specialy since youre cab contains unsigned .dll`s ;)

Do you know how to sign? If not post it here and I will sign it for you and repost cab + package.

thank you for your generous offer, it is greatly appreciated

however, I was wondering the same thing as mbarvian, how do you sign .cabs?

If I learn, I can do it myself :)

raiisak
26th July 2008, 08:16 PM
Microsoft Platform SDK for Windows Server 2003 R2 (signtool)

+

SDKSamplePrivDeveloper.pfx

=

All you ever need

Happy reading :)

mbarvian
26th July 2008, 08:47 PM
Microsoft Platform SDK for Windows Server 2003 R2 (signtool)

+

SDKSamplePrivDeveloper.pfx

=

All you ever need

Happy reading :)

hmm, I can't seem to find SDKSamplePrivDeveloper.pfx, a search returns this page...

do you have a link?

raiisak
26th July 2008, 08:49 PM
Hehe funny isnt it :D I was about to let you try for another houre or so, but I got my rom up and going so I am in a good mood...

http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

mbarvian
26th July 2008, 09:37 PM
Hehe funny isnt it :D I was about to let you try for another houre or so, but I got my rom up and going so I am in a good mood...

http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

hilarious :p well, glad to see you got your rom working correctly

mbarvian
26th July 2008, 09:57 PM
Hehe funny isnt it :D I was about to let you try for another houre or so, but I got my rom up and going so I am in a good mood...

http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

sorry for the double post, but that's a LOT of downloads, over 3 gigs on my comp...

is there anything else that will return the same results?

raiisak
26th July 2008, 10:57 PM
sorry for the double post, but that's a LOT of downloads, over 3 gigs on my comp...

is there anything else that will return the same results?

Should be a ver. around 200mb.

RavenY2K3
26th July 2008, 11:52 PM
Hehe funny isnt it :D I was about to let you try for another houre or so, but I got my rom up and going so I am in a good mood...

http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

Made me chuckle for about 10 minutes that one did, great stuff....

:D

mbarvian
26th July 2008, 11:53 PM
Should be a ver. around 200mb.

thanks I'll look for that

raiisak
27th July 2008, 12:16 AM
thanks I'll look for that

You still need to download Microsoft Platform SDK for Windows Server 2003 R2 (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en) for getting signtool (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en).

mbarvian
27th July 2008, 12:20 AM
You still need to download Microsoft Platform SDK for Windows Server 2003 R2 (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en) for getting signtool (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en).

ok, while I'm waiting for this download to complete, do you mind signing this one .cab?

raiisak
27th July 2008, 12:29 AM
ok, while I'm waiting for this download to complete, do you mind signing this one .cab?

No I dont mind :)

mbarvian
27th July 2008, 04:12 AM
No I dont mind :)

thanks a lot man, will give this a go right away :D

mbarvian
27th July 2008, 06:32 AM
ok, that one didn't work either, but I think it might be something to do with my Config_AP.txt file, here it is:

CAB: \Windows\ManillaPlusV2fixEng.cab
CFG: \Windows\config.txt


is this right?

Also, I have the manila cab in my OEMAPPS folder

austinsnyc
27th July 2008, 06:39 AM
ok try dumping the rom using IMGFS tools only DO NOT USE kaiserkitchen, make sure before you edit the config.txt you change the propertys of the config.txt uncheck read only and then edit the config.txt then go back to the property's and recheck read only and then rebuild the rom should work fine.

mbarvian
27th July 2008, 06:47 AM
ok try dumping the rom using IMGFS tools only DO NOT USE kaiserkitchen, make sure before you edit the config.txt you change the propertys of the config.txt uncheck read only and then edit the config.txt then go back to the property's and recheck read only and then rebuild the rom should work fine.

umm, what does dumping the rom have to do with this, just wondering?

austinsnyc
27th July 2008, 06:51 AM
because when you use the kitchen it runs things through package tool and puts everything in to packages. this way everything is in one folder called dump. trust me its a lot eiser like this.

mbarvian
27th July 2008, 06:54 AM
because when you use the kitchen it runs things through package tool and puts everything in to packages. this way everything is in one folder called dump. trust me its a lot eiser like this.

ok, I'll take your word for it ;)

mbarvian
4th August 2008, 08:56 AM
hey raiisak you wouldn't mind signing another one for me would you :p ?

raiisak
4th August 2008, 08:58 AM
hey raiisak you wouldn't mind signing another one for me would you :p ?

Here you go mate;

mbarvian
4th August 2008, 09:01 AM
Here you go mate;

wow fast response, wasn't expecting that

thanks man, I'll give it a go :rolleyes:

mbarvian
4th August 2008, 10:08 AM
ok, I'm having some difficulty...

here's what my Config_AP.txt looks like:

CAB: \WINDOWS\MBarvian_Registry_Tweaks.cab
CAB: \WINDOWS\ManillaPlusV2fixEng.cab
CFG: \Windows\config.txt


Am I doing something wrong? It does not install these on startup like it should... Any suggestions?

EDIT: Also, both of the .cab files are signed and in kaiserkitchen/OEM/OEMAPPS

raiisak
4th August 2008, 10:10 AM
Where did you put them?

mbarvian
4th August 2008, 10:16 AM
Where did you put them?

C:\kaiserkitchen\OEM\OEMAPPS

EDIT: BTW, thanks for the fast responses

monx®
4th August 2008, 10:35 AM
sorry to interrupt but ur cabs didnt called by autorun.exe or it shows installing but it dont actually :rolleyes:

mbarvian
4th August 2008, 10:36 AM
sorry to interrupt but ur cabs didnt called by autorun.exe or it shows installing but it dont actually :rolleyes:

yeah, it shows installing, but it doesn't actually install, how do I fix this?

monx®
4th August 2008, 10:39 AM
i'm checking ur cabs rite now | hope my boss didnt see it :p

mbarvian
4th August 2008, 10:40 AM
i'm checking ur cabs rite now | hope my boss didnt see it :p

lol thanks :)

monx®
4th August 2008, 10:49 AM
ur both signed cab is ok but ur dialer didnt show well in my kaiser (this is different issue :) )

can u check what is inside ur mxipupdate_zzPIED_101.provxml ?
the default one u will see this
parm name="AutoRunCFG" value="\windows\config_operator.txt"

do u have modified it to Config_AP.txt or if u use config_operator.txt, is
CFG: \WINDOWS\Config_AP.txt in it ?

because the default routine should be config_operator.txt > config_pt.txt > config_ap.txt > config.txt

or u can make it straight to Config_AP.txt

mbarvian
4th August 2008, 10:51 AM
ur both signed cab is ok but ur dialer didnt show well in my kaiser (this is different issue :) )

can u check what is inside ur mxipupdate_zzPIED_101.provxml ?
the default one u will see this
parm name="AutoRunCFG" value="\windows\config_operator.txt"

do u have modified it to Config_AP.txt or if u use config_operator.txt, is
CFG: \WINDOWS\Config_AP.txt in it ?

oh, I see, so you want me to change it to WINDOWS\Config_AP.txt since I use that instead of config_operator?

monx®
4th August 2008, 11:00 AM
no, if u can see my config.txt routine table above, & if u have all the abovesaid config*.txt file, then no need to change it. just change if u have removed others . hope u understand what i mean :p

mbarvian
4th August 2008, 04:11 PM
no, if u can see my config.txt routine table above, & if u have all the abovesaid config*.txt file, then no need to change it. just change if u have removed others . hope u understand what i mean :p

O, OK, I have all that, so I'll leave it be

mbarvian
4th August 2008, 04:49 PM
Just two more questions:

1. Can I rename Config_AP.txt to something like Config_Install.txt and change the link in config_operator.txt? The reason for this is because there are many Config_AP.txt, so what if it's pointing at the wrong one?

2. Can I use the same method described by Raiisak previously for config_operator.txt?

mbarvian
5th August 2008, 05:35 AM
anyone? I'm really having difficulty with this seemingly easy task

monx®
5th August 2008, 05:51 AM
of course mate. the simpler is better :)

mbarvian
5th August 2008, 05:56 AM
of course mate. the simpler is better :)

thanks for your help man, any suggestions?

btw, like the new avatar ;)

monx®
5th August 2008, 06:14 AM
pls forgive me mate, i'm currently using opera mini on my kasier & at KLCC here, i cant find PC to access. So hard for me to read all previous post 1 by 1. what suggestion actually :p

mbarvian
5th August 2008, 06:16 AM
pls forgive me mate, i'm currently using opera mini on my kasier & at KLCC here, i cant find PC to access. So hard for me to read all previous post 1 by 1. what suggestion actually :p

ok that's fine, I do that all the time

actually, I was just wondering if you had any suggestions to help me out

mbarvian
5th August 2008, 07:44 AM
hmm, I see that opgadgets appropriately changed the name of this thread, thanks

mbarvian
7th August 2008, 05:06 AM
any suggestions/solutions?

utopykzebulon
9th October 2008, 12:28 AM
i have the same problem...Cab don't want to be installed during customization!!!or if i understand i have to signe all my cabs before include them in config_AT.txt and i have to includ them in \OEMAPPS!
I'am good???

mbarvian
9th October 2008, 12:30 AM
wow, I remember this one

haven't seen opgadgets around lately, but @utopykzebulon: please post all of you config.txt files in your OEM folder

utopykzebulon
9th October 2008, 12:54 AM
wow, I remember this one

haven't seen opgadgets around lately, but @utopykzebulon: please post all of you config.txt files in your OEM folder

can you explain please because I have just 2cab to install to finish my rom!!just for fix som bugs but they don't want to be installed during customization!!help me please!!how to do???
config_operator.txt
LOCK:enable
TSK: \WINDOWS\ultimateM2D.tsk
XML: \WINDOWS\Menu_Operation.xml
EXEC:\windows\AutoRun.exe
CAB: \WINDOWS\PP_AKv33-DefaultPage_FRA-040c.CAB
CFG: \WINDOWS\config_PT.txt


config_PT.txt
CAB: \Windows\WiFicountrycode.CAB
CAB: \Windows\MBarvian_Registry_Tweaks.cab
CAB: \Windows\iContactFIX.CAB
CAB: \Windows\Gmap.CAB
CAB: \Windows\mm.CAB
CFG: \Windows\Config_AP.txt


config_AP.txt
CFG: \Windows\config.txt

config.txt
LOCK:Enabled
EXEC:\windows\AutoRun.exe
LOCK:Disabled
RST: Reset