how to run several CABs in a batch - HD2 Windows Mobile 6.5 Themes and Apps

searched the forum, for something that seems trivial, but can't find it...
sdconfig.txt is giving me problems, so now looking for a simple way to automatically run cab1, cab2, ... cabN, after a flash. like a DOS batch file

SASHIMI is what you need!
There are many tutorials, search for it!
3dfx

I found this:
forum.ppcgeeks.com/showthread.php?t=20753

dXsL said:
searched the forum, for something that seems trivial, but can't find it...
sdconfig.txt is giving me problems, so now looking for a simple way to automatically run cab1, cab2, ... cabN, after a flash. like a DOS batch file
Click to expand...
Click to collapse
If you want to make it easy:
http://forum.xda-developers.com/showthread.php?t=514934

dXsL said:
searched the forum, for something that seems trivial, but can't find it...
sdconfig.txt is giving me problems, so now looking for a simple way to automatically run cab1, cab2, ... cabN, after a flash. like a DOS batch file
Click to expand...
Click to collapse
You can use my cab, which already combined the major tweaks + NET 3.5:
http://forum.xda-developers.com/showthread.php?t=611358
I include a brief tutorial on how to merge cabs in the the second post.
I prefer creating a single cab for the things I will always install, so I don't need a pc to flash a new rom and get all my tweaks mods and apps back!
Using a cab installer requires a pc, so not as elegant.

Steve0007 said:
If you want to make it easy:
http://forum.xda-developers.com/showthread.php?t=514934
Click to expand...
Click to collapse
Nice, very nice.

x3dfx said:
SASHIMI is what you need!
There are many tutorials, search for it!
3dfx
Click to expand...
Click to collapse
Can you run it on Leo? After install, Sashimi stopped after saying initialisation complete and refuse to do anything else (the status screen stays there forever, no menu screen).

Related

Extracting cab files from ROMs

Hi,
I have tried a few ROMs and I need a combination of them when it comes to built in application!
I tried to serach and research this but still could not understand how you can extract CAB files from an existing Kaiser ROM if I have the ROM in .nbh format.
I am new to Kaiser and never used the ROM Kitchen before. I used to have HTC Prophet before so I am still used to the old ways of changging "Extended Memory" contents and the config file for it.
Thanks for your help.
Be not afraid of the new ways...
Steel77 said:
Hi,
I have tried a few ROMs and I need a combination of them when it comes to built in application!
I tried to serach and research this but still could not understand how you can extract CAB files from an existing Kaiser ROM if I have the ROM in .nbh format.
I am new to Kaiser and never used the ROM Kitchen before. I used to have HTC Prophet before so I am still used to the old ways of changging "Extended Memory" contents and the config file for it.
Thanks for your help.
Click to expand...
Click to collapse
A couple of suggestions....
1) Read slowly, deliberately, an multiple times to ensure you are not missing details.
2) If you don't understand something specific, ask the specific question on this forum and we are better armed to assist.
3) Don't be afraid to just try and run the SW after reading carefully. It's not painful or anything just to jump in and run the software (just don't load it on your phone until you are confident in the results). The worse that happens is you run it over. Since you are extracting for the 1st time, I suggest you follow the instructions EXACTLY. I don't care if it tells you to lift your leg and bark like a dog, just do it! Also, to get a feel for the quality of your results, extract a cab that you already have and compare after you're done.
Cheers and good luck!

Learning to cook. Need a little help

I'm using alex's kitchen and am trying to create a cooked wm6.1 rom from the CE OS 5.2.19170 (BUILD 19170.1.0.0).
I've extracted the rom loads of times and can create a flashable RUU_signed.nbh with additional apps from packages (and some packages i made myself) but if i try to add the new polaris camera or anything that the rom may have a previous version of it errors out and can't create the default hives.
It says for a lot of the added packages they do not contain rgu's.
Anyone fancy trying to mentor me a bit?
read the wiki on how to make oem packages bro im in the midst of making my own custom rom right now based off of dcs1.1
Cheers for the reply.
I've done that and made some working packages but it seems thats not the problem. i think i need to remove all the older stuff from oemapps first but i don't know how to do that and can't find any pointers.
I know i could start deleting stuff but thats probably not wise.
ive been lerning myself the past 3 days non stop just testing n testing new stuff seeing what goes well, trying to take pkgs from roms and merge to other etc takes some time but ull get it if u keep at it, i really recommend the packages creator 5.4 util for making ur pkgs
i just wish i cood find the pkgs for dutties beautiful red phone dialer and call history etc. i tried removing it but its a bit too advanced for me atm
I've been using the package creator in the kitchen (ervius' one).
I'm on nightshifts at work and i think the sleep deprivation is making me miss the obvious.
I'll stick at it for a bit though and then have a proper go when i get a day off.
I'll have a bash with the rom your using as its got the camera in already but i'd still like to know how to do it myself.
Now where'd i put that cup of coffee?
oh and i find with the pkg tool i have to delete the rgu files to avoid the hv registry errors in buildos hope that helps
It says they are missing for most of them anyway.
Please watch this.
to get my pkgs to work i found that i had to uncheck prefix files and leave all others checked, then after creating the pkgs i delete the rgu files
_Alex_ said:
Please watch this.
Click to expand...
Click to collapse
Now that's funny.
Now i know it's the wrong thread and all but i don't want to start a new one just to thank you for your kitchen and tutorials. So ta very much.
xzon said:
to get my pkgs to work i found that i had to uncheck prefix files and leave all others checked, then after creating the pkgs i delete the rgu files
Click to expand...
Click to collapse
Cheers for the advice xzon.
I'm gonna call it a day for now but will definitely check out what you've said.
_Alex_ said:
Please watch this.
Click to expand...
Click to collapse
Thanks Alex

Install .cab during Customization?

I would also like to know how to install a .cab during Customization (in 3 seconds). Does anyone know how?
anyone?
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
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
ryncppr said:
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
Click to expand...
Click to collapse
I can't find that package, where is it?
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?
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...
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
Atleast now you have something to go on.
raiisak said:
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
Atleast now you have something to go on.
Click to expand...
Click to collapse
is this the solution for the theme? because I have figured that one out Now I'm looking for a way to install .cab's when the device says "It will configure your device in three seconds."
opgadgets said:
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?
Click to expand...
Click to collapse
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.
opgadgets said:
is this the solution for the theme? because I have figured that one out Now I'm looking for a way to install .cab's when the device says "It will configure your device in three seconds."
Click to expand...
Click to collapse
Check config_operator.txt under kaiserkitchen\OEM\OperatorPKG
raiisak said:
Check config_operator.txt under kaiserkitchen\OEM\OperatorPKG
Click to expand...
Click to collapse
I can't seem to find that file
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 and include the cab(s) in a separate UC package.
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
fiendz said:
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 and include the cab(s) in a separate UC package.
Click to expand...
Click to collapse
Ok I'm going to go for the first method. Now, is the config.txt in the Tier Install Package folder?
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
opgadgets said:
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
Click to expand...
Click to collapse
We told you already mate...
Open: C:\kaiserkitchen\OEM\OEMAPPS\Config_AP.txt
You will se something like this:
Code:
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.
Code:
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.
raiisak said:
The cab will be uninstable if you flaged it to be so.
Click to expand...
Click to collapse
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
slovoflud said:
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
Click to expand...
Click to collapse
Bether rom performance when cooked in Metod above is not what we call "cooked in".
raiisak said:
We told you already mate...
Open: C:\kaiserkitchen\OEM\OEMAPPS\Config_AP.txt
You will se something like this:
Code:
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.
Code:
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.
Click to expand...
Click to collapse
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...

Unistalling cooked programs in ROMs

I know that the prograns cooked by the chefs in their ROMs can't be uninstalled by simple going do the "Remove Programs" button on the Settings part of the ROM.
I want to know if there is a way to uninstall some programs cooked in the ROMs BEFORE flashing them into Kaiser...
Is there any program that can easily do this?
Is it safe?
Can it be done without major knowlowedge of the cooking/programming processes?
Since I use the ROMs in Brazil, some of the programs that usually comes cooked in the ROMs are pretty much uselles here (e.g., that one that "reads" the name of the contact that's calling).
Usually I just disable then, but it is kind of a waste of space leaving them there without using.
I would like to know the answer as well
zefiltrin said:
Is there any program that can easily do this?
Is it safe?
Can it be done without major knowlowedge of the cooking/programming processes?
Click to expand...
Click to collapse
Easy answers.
No
Relatively
No
denco7 said:
Easy answers.
No
Relatively
No
Click to expand...
Click to collapse
So, if there's no easy way, can anyone point the "hard" way to do this?
The process of cooking this programs in the ROMs are THAT complicated?
zefiltrin said:
I know that the prograns cooked by the chefs in their ROMs can't be uninstalled by simple going do the "Remove Programs" button on the Settings part of the ROM.
I want to know if there is a way to uninstall some programs cooked in the ROMs BEFORE flashing them into Kaiser...
Is there any program that can easily do this?
Is it safe?
Can it be done without major knowlowedge of the cooking/programming processes?
Since I use the ROMs in Brazil, some of the programs that usually comes cooked in the ROMs are pretty much uselles here (e.g., that one that "reads" the name of the contact that's calling).
Usually I just disable then, but it is kind of a waste of space leaving them there without using.
Click to expand...
Click to collapse
Hi there,
I would use a ROM Image Editor software.
Search for htcRIE_0.4.0.51.exe. open the .nbh file and you will see all the
files included in the ROM. Some files you can delete without having to worry about anything. Give it a try.
I don't take any responsibility if you modify/delete files and it breaks your phone.
Good Luck.
Edris said:
Hi there,
I would use a ROM Image Editor software.
Search for htcRIE_0.4.0.51.exe. open the .nbh file and you will see all the
files included in the ROM. Some files you can delete without having to worry about anything. Give it a try.
I don't take any responsibility if you modify/delete files and it breaks your phone.
Good Luck.
Click to expand...
Click to collapse
Thank you! I'll look for it.
But the chance of breaking the phone is relevant? I mean, why deleting some third party app files prevent me from flashing another ROM later, if anything goes wrong?
I don't want to deal with anything related to the OS itself, just eventual softwares installed, like MS Voice Command or RSS Hub.
If the only way is to delete file by file I'm note too sure if it is worth the work...
I honestly toought that there was a program that you could open the .nbh file and it would show the installed prograns and the option to remove them.
zefiltrin said:
...
If the only way is to delete file by file I'm note too sure if it is worth the work...
....
Click to expand...
Click to collapse
not worth the work???? what work??? u open the nbh file, u select the file, and u delete it. much less work than actually recooking the rom.
i use htcrie all the time, and i've screwed up many many times. If u screwed it up, and deleted something that you shouldnt......then just start again from a copy of the original and make sure u dont delete it.
or, the 'easy' way (and most chefs provide this) is to flash a 'lite' or 'naked' version of the rom series, then add the crap you DO want. or, download a kitchen and cook your own!
XtreMe_G said:
not worth the work???? what work??? u open the nbh file, u select the file, and u delete it. much less work than actually recooking the rom.
i use htcrie all the time, and i've screwed up many many times. If u screwed it up, and deleted something that you shouldnt......then just start again from a copy of the original and make sure u dont delete it.
Click to expand...
Click to collapse
But I believe that most of these programs are not in one simple file... Or are they?
I though that the process of deleting the files would implie deleting ALL the files related to the program.
Some of them put files in the '/Windows' folder, '/My Documents' folder and so on...
thedrizzle said:
or, the 'easy' way (and most chefs provide this) is to flash a 'lite' or 'naked' version of the rom series, then add the crap you DO want. or, download a kitchen and cook your own!
Click to expand...
Click to collapse
Well, first of all, not every chef makes naked ROMs. Second, I usually DO want 90% of what comes in the ROMs, and want to delete one or two programs. So, flashing naked ROMs to install EVERYTHING else is a option that I don't want do consider...
About cooking a ROM, I would do it if I have the time to learn everything about it. Since I can't do it with the knolowedge I have and don't have enought time to learn it all, I'm tryng to find one alternative that can solve my problem.
so you delete ALL the files associated with that program then.
Zelfrin
Are you trying to have a thread "How to brick your device" ?
That's a perfect one
XtreMe_G said:
so you delete ALL the files associated with that program then.
Click to expand...
Click to collapse
Ok, but how can I see the list of files associated with that program? The softs you pointed show what files are related to each program?
If there is no other way, I'm going to try deleting everything.
Pisca said:
Zelfrin
Are you trying to have a thread "How to brick your device" ?
That's a perfect one
Click to expand...
Click to collapse
Hehehe... Don't even joke about it!
As I said, I just want to delete SOME files of THIRD PARTY softs. I'm going to stay the hell away of any file related to the OS itself.
And I really can't see why this could brick my device... Since any problem will occur only in the ROM itself, I'll probably be able to reflash another ROM...
I wanted to cook a ROM myself, in portuguese and with the programs I use, but I just don't have enought time right now to do this...
zefiltrin said:
Ok, but how can I see the list of files associated with that program? The softs you pointed show what files are related to each program?
If there is no other way, I'm going to try deleting everything.
Hehehe... Don't even joke about it!
As I said, I just want to delete SOME files of THIRD PARTY softs. I'm going to stay the hell away of any file related to the OS itself.
And I really can't see why this could brick my device... Since any problem will occur only in the ROM itself, I'll probably be able to reflash another ROM...
I wanted to cook a ROM myself, in portuguese and with the programs I use, but I just don't have enought time right now to do this...
Click to expand...
Click to collapse
You will see the .exe .lnk some more have more file but most will be the .exe thats the bulk, i had look @ prog and seems pretty simple, yet not going to as Tilt has enough storage memory for me just to hide .lnk's and not worry
stylez said:
You will see the .exe .lnk some more have more file but most will be the .exe thats the bulk, i had look @ prog and seems pretty simple, yet not going to as Tilt has enough storage memory for me just to hide .lnk's and not worry
Click to expand...
Click to collapse
That's what I though after I post my reply... Probably only the .exe is memory consuming, the rest is useles but very small files too.
I'm going to try this...
Manila 2d
What are the manila 2d associated files that I can delete?
matumartin14 said:
What are the manila 2d associated files that I can delete?
Click to expand...
Click to collapse
Get a M2D .cab and crack it open with WinCe Cab Manager or the likes and you will be able to see.

PC script to auto remove apk's

Hey everyone!
On the rom I currently use there are about 20 apk's I have no need for. What I do is download the rom, and individually delete the apk's before flashing the rom. The thing is I flash quite often (cheeky, I know ) and this is getting quite frustrating.
Ideally I want a script that does this all for me. I found one but it seems be for running on the phone, after the apk's have been installed. Does anyone know how I can create a script for the PC that does this before I even install the rom?
Thank you for any suggestions.
Oh and here's the thread I found that looked relevant...
http://forum.xda-developers.com/showthread.php?t=674357
edcoppen said:
Hey everyone!
On the rom I currently use there are about 20 apk's I have no need for. What I do is download the rom, and individually delete the apk's before flashing the rom. The thing is I flash quite often (cheeky, I know ) and this is getting quite frustrating.
Ideally I want a script that does this all for me. I found one but it seems be for running on the phone, after the apk's have been installed. Does anyone know how I can create a script for the PC that does this before I even install the rom?
Thank you for any suggestions.
Oh and here's the thread I found that looked relevant...
http://forum.xda-developers.com/showthread.php?t=674357
Click to expand...
Click to collapse
Over what OS?
If in Windows (or any M$ OS, incl. DOS) you can make a batch file.
My file is adjunted as example (modify as you like, put in the root dir -obviously to the unzipped ROM- and run. Rezip and maybe re-sign)
salu2
Thank you. This is exactly the kind of thing I am after. If I had of been born just a few years earlier I would probably know all about batch scripts. Fortunately, I just missed the DOS days!
Anyway, I puzzled out / looked up the commands in the script you posted. Based on that I extracted the rom, then placed the batch file within it, so that the cd (current directory) command runs correctly.
Unfortunately this mucks up the signing on the rom. Do you re-sign your CM7 roms every time you do this or is there an easier way?
Edit: My PC is Win 7, 64bit, soon to be Win 8 Consumer Preview.
Edit: The roms do not need resigning.
I don't re-sign the ROM, simply flash again over Clockworkmod Recovery.. and work.
But, you can:
1) sign using Auto-Sign....
2) Click [Thanks]...
Salu2
__________________________________________________________________
I know, I know.... my english is ****ty... but my spanish is much better... ;-)
Big thank you. That's solved that one nicely for me!
You're welcome.
Updated zip in my first Post.
Salu2
Hey again. I was hoping to build on the script you kindly provided. At the moment I am using various alpha roms where the exact apk's present changes fairly often. It would be great if I could see the outcome of each action. This way I would know if the apk has had it's name changed or been removed. How would I enable this?

Categories

Resources