[Q] How to edit a cab file? - General Questions and Answers

Hiya
So I figured that i better go a learn how to use this UC that i find extremly clever - however there's a few cab's that i would love to change abit to my use, for instance dont make it install all the apps its trying and so on...
However i dont really know where or how read the file - ive downloaded WinCE trial version and oped the cab, but wich file type does what and so on? Ive tried abit, deleting some program files however i still need to edit the install files to tell the cab not to install the program at all, so are there anybody out there who can guide me abit on the right direction?
And es ive allready searched this site and google, but i havnt found anything usefull :?
//M

Which program is it that you're trying to edit?
Have you tried editing the config file that lists the cabs to be installed?

Jadel said:
Which program is it that you're trying to edit?
Have you tried editing the config file that lists the cabs to be installed?
Click to expand...
Click to collapse
If you by config file means the xml file then yes - so far so good - however now im having trouble rebuilding the cab - ive tried several times using both winrar and alZip but i cant seem to rebuild the file correctly - it dosnt even have the right size even though all ive done is to extract the files and rebuild em - what am i doing wrong?
Perhaps im just too dumb to get it - but when i open the cab file in WinCE it dosnt seem to display the _setup.xml at all - so how do i edit that file and use WinCD to rebuild the cab file?
//M

Bump!
//M

use any Cab manager to do that
or cabwiz (microsoft command line utilty)
also try this : http://nedge2k.com/cab-o-matic
or, you could PM the files and i'll cab'm up

ather90 said:
use any Cab manager to do that
or cabwiz (microsoft command line utilty)
also try this : http://nedge2k.com/cab-o-matic
or, you could PM the files and i'll cab'm up
Click to expand...
Click to collapse
Hmm i allready have WinCE - i just dont know how to change the cab and repack it, perhaps you could help on that?
Ive also seen that link under my search - however the site just says: "down for bug squashing..." so not much help there anyway
Thx for the offer - however the main reason is i want to learn how to do it properly
CabWiz i has been unable to find for download :?
//M

to edit a cab, you need to have the WCM file. you can also unpack it using a Package Creator (v2.7) makes the changes needed, and create the cab again with the modifications using your CECabManager

nir36 said:
to edit a cab, you need to have the WCM file. you can also unpack it using a Package Creator (v2.7) makes the changes needed, and create the cab again with the modifications using your CECabManager
Click to expand...
Click to collapse
Hmm yea i understand that much - however i fail to see how i can edit anything in WinCE when i dont have the xml file when i open the cab? I do understand the i need to unpacvk the cab, ive dont the with different programs, ive also edited the xml file to fit my request but i simply cant repack the cab with my edited xml file and get it to work? What am i doing wrong?
//M

CeCABManager supports importing information from an *.inf file.. not xml files..
you can just provide the info on the cab to the app and it'll pack it for you..

Related

BtT: Easily customizing your splash screen for JAM, PDA2k

What you'll need:
CAB editor, such as OCP WinCE CAB Manager
Madkat's WM2k3 Boot Image Tool (attached)
Adobe Photoshop or other image editor
a compatible HTC device such as the Magician or Blue Angel
Summary:
Customized SplashX.nb files to be installed in \Windows directory of your device
Included:
Customizable Splash2.psd file for use with Adobe Photoshop
Steps:
1. Change the Splash2.psd file as necessary, then save a 24-bit BMP file called Splash2.bmp.
2. Use Madkat's Tool to convert the BMP file to an NB file.
3. Use the CAB editor to replace the Splash2.nb file with your version. WinCE CAB Manager may state an "Unspecified Error" when replacing the file. Instead, delete the original file, then drag the new NB file into the CAB file, hardcoding the \Windows folder as the install destination.
4. Save the CAB file and run it on your device!
Magician devices have only one splash screen, and it must be saved as Splash2.nb.
Blue Angel devices have two splash screens, Splash1.nb and Splash2.nb. Use the above steps to incorporate both splash screens as necessary.
Splash screens will be retained even after a hard reset, so use this after the Anansky's Big Storage hack, or if you just want to personalize your device, such as in the unfortunate event that it's lost or stolen - unless they know this trick, they won't be able to get rid of it!
Have fun!
Thanks mate works like a dream!!
Maybe it's just me, but I've read this post here and at Howardforums and I'm clearly missing something.
I've only ever used the nb_image_converter_859_418.exe to convert "any" bmp to the Splash2.NB file.
Then I drop that into my Windows Folder and use MDA3_bootimage_changer2.cab to apply the file. (Yes I'm using a Magician with this file!)
Soft reset and that's that. No need to do any cab file editing.
Cheers
Howard
PS. I've have both tools on my pc and can repost them, but they are from this site!
hshortt said:
Maybe it's just me, but I've read this post here and at Howardforums and I'm clearly missing something.
I've only ever used the nb_image_converter_859_418.exe to convert "any" bmp to the Splash2.NB file.
Then I drop that into my Windows Folder and use MDA3_bootimage_changer2.cab to apply the file. (Yes I'm using a Magician with this file!)
Soft reset and that's that. No need to do any cab file editing.
Cheers
Howard
Click to expand...
Click to collapse
Tried that way myself a while ago but for some reason it refused to work for me? (could of been the fact i used a file called XDA2_bootimage_changer.CAB)?? anyway now I can use self contained cabs so I make some splash's for my friends
PS. I've have both tools on my pc and can repost them, but they are from this site!
it must be me, but what cab file are we using here ?
3. Use the CAB editor to replace the Splash2.nb file with your version. WinCE CAB Manager may state an "Unspecified Error" when replacing the file. Instead, delete the original file, then drag the new NB file into the CAB file, hardcoding the \Windows folder as the install destination.
Click to expand...
Click to collapse
:?: :idea: :!: :?:
DOH! I forgot to include the file. It's there now in the top post.
3. Use the CAB editor to replace the Splash2.nb file with your version. WinCE CAB Manager may state an "Unspecified Error" when replacing the file. Instead, delete the original file, then drag the new NB file into the CAB file, hardcoding the \Windows folder as the install destination.
well, i'm using resco file explorer. i'm choosing on my pc to send the file to windows directory. he ask's me if i wanna overwrite it, i click yes and then it's done. i'm reloading, but still qtek logo on the screen(( what am i doing wrong?
ps. i tried to use WinCE CAB Manager but i didn't figured out how to use the program....
update:
oh, i needed to use a different file...
thanks guys! well done)
my version (unfortunatelly understandble only for russian speaking users) but maybe somebody will like it)
http://zhgun.ru/pics/i/draw/jamming_.jpg
http://rapidshare.de/files/2112736/jamming.cab.html
hshortt said:
Maybe it's just me, but I've read this post here and at Howardforums and I'm clearly missing something.
I've only ever used the nb_image_converter_859_418.exe to convert "any" bmp to the Splash2.NB file.
Then I drop that into my Windows Folder and use MDA3_bootimage_changer2.cab to apply the file. (Yes I'm using a Magician with this file!)
Soft reset and that's that. No need to do any cab file editing.
Cheers
Howard
PS. I've have both tools on my pc and can repost them, but they are from this site!
Click to expand...
Click to collapse
hi, can't seem to download the attachments, could you repost them?
If you don't like Bill's Stuff...
I wonder if anyone can put some help my way.....
I used the xda2 image changer before and I had custom images on my XDA2.
I use this and all I get is a black screen on startup. If I open the .nb file with the converter it shows as it should. (this same .nb works on my XDA2!)
I now have a plain black boot up screen!!
DOH!!!!
Any ideas......?
THanks
First i had the t-mobile splash... wich i didn't like.
Now, whatever bootsplash cab i make, or download here.. after running it, my bootscreen stays blank ( as in black ).
oh well... its an improvement over t-mobile pink
( or is it because i'm running an ancient rom : 1.01.00 WWE ?, only have the device for 3 days... will be upgrading this weekend tho )
Here are my 2 favourites Splashscreens.
The blue one ist for the silver Magician, the darker one is for the new O2 XDA mini (black edition).
Hi I've editted the o2 logo here's the jpg file
I tried to upload the psd so you can edit it but it doesn't work, to bad!
Step-by-step making your own splashscreen
Guys,
Simpler than this you will not find.
Goto
http://pocketpcdubai.infopop.cc/groupee/forums/a/tpc/f/582600994/m/138105069
and find everything you need to know.
It worked perfectly for me...
Excellent information, real easy to do
this is mine:
Awesome...
I saw this before, but I have just tried it... and it is really cool 8) ... it gives the device a whole new look...
thanks BTT
My way to splash changer.
Hi,
I thanks to BTT for Splash Changer how to. But it is troublesome to everytime run WinCE cab manager in order to put Splash2.nb to the .cab file.
I try to remove Splash2.nb from the .cab file (and renamed the .cab to splash_changer.cab). Afterthat, put the Splash2.nb manually to \windows on PPC. Voila....., no need to everytime run WinCE cab manager!!!!!
Process:
1. Edit .bmp file to your like (Must be 240x320 pixels, 24bit).
2. Use nb_image_converter_859_418 to convert .bmp file to .nb, and change the .nb file to Splash2.nb.
3. Put Splash2.nb file directly to your \windows on PPC. You can do activesync and explore it.
4. Put splash_changer.cab to \temp for you to easier found it.
5. Run file explorer on PPC, and tap on splash_changer.cab.
6. Done! You can check by soft reset the PPC.
Hope it is helpful!
Regards,
Arto.
can it work on normal pocket pc?
can it work on normal pocket pc? (x50v)
Re: can it work on normal pocket pc?
avi9899 said:
can it work on normal pocket pc? (x50v)
Click to expand...
Click to collapse
No idea....
Regards,
Arto.

Porting T-Mobile Shadow's Chome plugin to other devices.

Hello.
I'v trying this for a couple of hours without effects.
Dumped rom, builded modules with PKGTool. Files are in OEM/Oemdrivers and SYS/Chome. It does't run by just copying. Need some way to regsvr dll files. Because Chome plugin is accesing partial plugins by GUID.
Anyone have idea?
I did the exact same thing. I haven't had any time to try anything else because I have finals next week. I'll let you know if I get anything
To all helpfull shadow users
Can some T-Mobile Shadow user backup those registry keys?
all those are in HKEY_CLASSES_ROOT\CLSID\
Code:
{D7B35490-A4B2-4ef4-BF8D-332C4979F14E}
{892B90CB-9806-427e-8BED-F45C6A9E576B}
{E98FBDCC-6664-4c5b-BB62-20932ED37762}
{C5A51777-B837-447d-8947-FAF3FF9D570B}
{3FD3C828-753F-48f9-BEA9-6201F64B5F58}
{06BC7E69-CE13-4028-9454-C27A32F56197}
{4F612B1A-E470-4b31-9386-AC396AEDAAF9}
{1DE8DD6B-D74D-4d2e-A8C3-72439F2B8402}
{D3303B00-DB12-4bbb-A0CD-D5DAD41E2DFC}
{634CA962-22D8-4671-BBC7-BAC47148A4B6}
{D51A48AA-1F22-4aee-A4D1-B215C504550D}
{74D7FEB8-0DA7-485a-AB4F-4D12E6338758}
{4B998C14-3801-4a8e-9B20-5DFE58B19C39}
{7B4E69B9-C032-4134-81BE-D6F360B30576}
or better just backup HKEY_CLASSES_ROOT\CLSID\ and send me PM - I'll sent my mail.
You can use Registry Workshop to do this.
Those keys don't contains any personal information or settings so it's safe- don't worry.
//////////////////////////Edit////////////////////////////////
I've recieved all CLSID from [email protected]://allshadow.com forums but still no luck...
I'll be getting my own Shadow in a couple of days. I can do the backup then. Once again, I don't have much time to do anything else because of school and a robotics team I'm on.
Nice job finding those keys!
When I tried flashing my first rom with all of the CHome plugin stuff in it, the ROM flash to the wizard stopped at 78%...
I uploaded all the plugins and .png + reg entries that seems to be used with the chome home screen. all files are here:
http://www.esnips.com/doc/14b31b95-2c8f-4ae9-a6c9-1453df7d05e6/shadow
copy all the files in Windows to Windows folder. Add all the registry entries and copy T-mobile_basic_blue to Application Data\home\ folder.
Once I've tried to put all the files to my phone, I even got all the regedits (or maybe I've missed something) and I just got a white space on my homescreen.
how do i add the registry's to my phone?? do i add them with a reg edit app??
kingroach said:
I uploaded all the plugins and .png + reg entries that seems to be used with the chome home screen. all files are here:
http://www.esnips.com/doc/14b31b95-2c8f-4ae9-a6c9-1453df7d05e6/shadow
copy all the files in Windows to Windows folder. Add all the registry entries and copy T-mobile_basic_blue to Application Data\home\ folder.
Click to expand...
Click to collapse
could you post this on the ftp site? for some reason, the captcha phrase on esnips is having problems and i can't create an account. Thanks!
rafyvitto said:
how do i add the registry's to my phone?? do i add them with a reg edit app??
Click to expand...
Click to collapse
You cannot normally import .reg files on smartphones. However Resco Explorer from resco.net can do that.
kingroach said:
I uploaded all the plugins and .png + reg entries that seems to be used with the chome home screen. all files are here:
http://www.esnips.com/doc/14b31b95-2c8f-4ae9-a6c9-1453df7d05e6/shadow
copy all the files in Windows to Windows folder. Add all the registry entries and copy T-mobile_basic_blue to Application Data\home\ folder.
Click to expand...
Click to collapse
Have You manage to run this plugin on non shadow device?
Files are easy to extract but make it work does not.
I tried on qtek 8500. It doesn't run and after reset the device stucks. Need a hard reset to factory defaults to work again. fortunately I had a backup.
I just got my own T-Mobile Shadow and I found out that you need to have a .scheme/.home XML file that sets the plugin. I think it's called cmhome.home. Also, you need cmhomeres.dll.0409. I'm going to try adding these in to the rom...
...unless they are already there and I haven't noticed
any update.. can i have a copy of the rom u builded thx
ND4SPD said:
I just got my own T-Mobile Shadow and I found out that you need to have a .scheme/.home XML file that sets the plugin. I think it's called cmhome.home. Also, you need cmhomeres.dll.0409. I'm going to try adding these in to the rom...
...unless they are already there and I haven't noticed
Click to expand...
Click to collapse
Yes we actually know that chome is part of theme, about that MUI and other many many files too.
Can You just post orginal Shadow rom.
melgurth said:
Yes we actually know that chome is part of theme, about that MUI and other many many files too.
Can You just post orginal Shadow rom.
Click to expand...
Click to collapse
i got it u need it?
here u go http://rs81.rapidshare.com/files/73516772/S730_ROM_Dump__PKGTool_.rar
Can somebody upload new Shadow update to rapidshare?
I'll post it as soon as I get home. School's proxy blocks FTP upload/download and exe files.
Rom link: http://www.megaupload.com/?d=5GART6H6. Sorry I forgot to upload before
Thanks for posting the new ROM!
I had some success with the old one here:
http://s2.photobucket.com/albums/y15/GnatGoSplat/3125Shadow/
It was a complete ROM port though. I'll see about making a CAB when I have some free time.
cant wait wanted it since shadow came out...i have s620 will it work with landscape

How do I sign a .DLL file???

Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
ryncppr said:
Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
Click to expand...
Click to collapse
ResHack will cause a dll or exe locked to sign if u edit it heavily.
Use Heaventools Resource Editor or PE Explorer instead
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
NEVER MIND GOOGLE IS MY FRIEND
ryncppr said:
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
Click to expand...
Click to collapse
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
you can also use sign tool from Microsoft SDK 2008
i tought he cannot sign the file after edit it. silly me there is also multisign tool floating in this forum based on SDK but with easy GUI.
skatdawg said:
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
Click to expand...
Click to collapse
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
ryncppr said:
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
Click to expand...
Click to collapse
Glad to help you man
a lot of thanks dear scotchua very useful

open and edit cab files

Hi!
I want to edit a skin package for the program "Tengo Thumb" by myself.. I have a cab file with a skin inside it but when I open it with winrar the files don't have any file-endings.. I want to get to those pictures and change them to something nicer.
Any clues?
You can install the software, take out all files you want to edit from the folder they were installed to, and then replace them with the edited files. Sounds easy, doesn't it?
This is what I do when I edit the resources of various EXEs and DLLs - sure the same will work for images.
You can afterwards repack the installed program using, for example, SK Tools (Installed Programs - Marked items - Make cab) and get yourself a working installer
There might be better and more professional ways to do the same - if anyone knows, please educate us
You could use a .cab editer like Cab Manager. With that, you can extract and add files, and then re-save the new .cab file.

Where are the files ?

Hi guys, I have this ambition to change the symbols in call history with ones that are colored.
I know that for this some Manila files should be changed, but I don't know where to start the search and what exactly to look for, so any advises would be more than appreciated. thanks
Hi there, files you're looking for are into windows directory, unfortunatly are marked as "read only" and the easiest way to replace them using Resco Explorer. Althought you can find .cab file here here.
Installing this you can keep original files into backup folder end restore when needed.
Bye
The cab is also on XDA forum but it replace the icons on phone menu not in the history...so I assume that the file for history is another one...this file I'm looking for but don't know how to find it...
You have to find and change some graphic file in windows directory. I'm using dutty's R5 so can't help you better.
Those files are located in phcanOverbmp.dll
ArtieQ said:
Those files are located in phcanOverbmp.dll
Click to expand...
Click to collapse
Are you sure ?
muntos said:
Are you sure ?
Click to expand...
Click to collapse
I'm sure, but you need Unsigner.exe and ResHacker to replace/extract those files.
Ok, I found the dll and the resource files inside but I believe that this is for WM phone call history not the Manilla call history right...?
I found the files (Manila files) who is interested in replace them look for :
http://forum.xda-developers.com/showthread.php?p=4774690#post4774690

Categories

Resources