TriX - extract, decompress files, folders from Firmware files - Bada Software and Hacking General

We can extract with TriX.
http://forum.xda-developers.com/showpost.php?p=10481771&postcount=31
Big thanx to b.kubica
Now its time to analyze, compare some results... to identify important files...
As example I've uploaded extracted files from T-Mobile Firmware:
ShpApp.app
CSC_S8500_Tmobile_DTM.csc
FactoryFs_S8500_Tmobile.ffs
90 MB compressed:
http://www.megaupload.com/?d=TIS9WFZO
Best Regards

I wish more users would investigate Firmware with TriX.
Here little Video Tutorial how easy it is.
Best Regards
P.S.:
I will add this week Video for building files too. But its very simple.

i would like to play with this trix software. where i could get it. nevermind i will take a look on the link in first post. One more thing i want to ask, if i change any setting in ini files, and put it back to the phone using stune, the changed setting donot take effect. is there any way to avoid this. Like i had find the setting where samsung has put a limit on multitasking of java app to a max of 3 app. i have changed it to four but it didnt work. since i have installed many app i dont want to reset my phone. is there any way??

http://nokix.sourceforge.net/trix/howto.htm
...i dont want to reset my phone.
Click to expand...
Click to collapse
I know and I understand.
But Security is not easy to bypass or to disable with sTune...
Depend on exact file you play with sTune.
But except following:
1.
Wave has Security to prevent easy changes like:
Writeprotections (no replace nor delete possible)
Directories are most NOT delete able...
2.
Few *.ini files are stored double/twice... in User and SystemFS folder.
Shadow Backup to prevent change...
3.
Some *.ini files stores Data in database files...
This is the reason why I investigate time in Firmware files. Here are *.ini files not protected.
Flashing modified *.FFS, *.PFS, *.CSC or *.APP higher chance to bypass Security and successfully change Settings.
Best Regards

how i can instal trix ....it gives to me always error...

You have to use version 0.9 and fs_shell.trx script for bada.

Reference package, all files included
Okay. As many users seems to have problems with TriX.
Attached is nearly complete TriX. Tested with XP SP3.
Here are all files correct in position.
Please post results/problems with other Windows Version.
Best Regards

Here you are

Dont work under Windows 7 x64 .
first problem was easy. Add missed dll'd
MSVCR100.dll
MSVCP100.dll
second is more problematic.
" _invalid_parameter_noinfo_noreturn in library MSVCR100.dll "
Even compatibility with Windows XP SP3 wont work.

MSVCR100.dll
MSVCP100.dll
Click to expand...
Click to collapse
These are missing Microsoft Visual C++ 2010 Redistributable Package (x86)
I used this package for my XP:
http://www.microsoft.com/downloads/...5e-6de6-4d3a-a423-37bf0912db84&displaylang=en
Not sure if also success under Windows 7.
Best Regards

I use trix on windows seven 64 bits and it works.
Adfree is right need to install Microsoft Visual C++ 2010 Redistributable Package for 32 bits

ok...thanks..I'll try-.....
ok!!
perfect!!!
thanks..thakns...
I nedd the last information...
which script I?ve to use with shad app?

You have to use fs_shell.trx for pfs, ffs, csc and app files.

lasentenza said:
You have to use fs_shell.trx for pfs, ffs, csc and app files.
Click to expand...
Click to collapse
ok.change only for amms...perfect...thank you very much..

Sorry, don't understand??
The amms file is not usable with trix

okk.ok...sorry...
I've a problem..I want to erase 3 system widget...
but now i've invisible icon..
how can I take off then?
In csc?

Which one?
You have to modify PshIdleWidgetList.ini (the file appear twice)on CSC and WidgetDefault.ini on FFS

lasentenza said:
Which one?
You have to modify PshIdleWidgetList.ini (the file appear twice)on CSC and WidgetDefault.ini on FFS
Click to expand...
Click to collapse
I don't rember...I'll see...and tell you later...
thanks very big!!
IO've change it..but nothing change..how can restore the original widget?
i don't rember...in csc?

I have a question for ask you, Mr. Adfree
I would like to know aside from .csc .ffs. .pfs .app that we can modify
Can we make not full fw to full fw?
example 1.2 Asia (not full fw) in Samfrimware.com
Thank you Mr. Adfree ^^

http://nokix.sourceforge.net/trix/bada/
New Version can decompress bada 2.0 apps_compressed.bin.
http://forum.xda-developers.com/showpost.php?p=18687896&postcount=231
Thanx.
Best Regards

Related

BlueAngel, Magician, Alpine & Universal Ext ROM Tools

Hi folks,
I wasn't going to release these until I'd finish the help file, but as they've already filtered out - I thought I may as well; and this thread will contain the latest release(s).
Firstly, as always when playing with ROMs be careful as you may end up killing your device - use these tools at your own risk!
These tools are Windows GUI based and allow you to:
• View and modify ROM file header information
• Decode Extended ROM files (e.g. ms_.nbf)
• Extract FAT16 image from ROM files
• Extract embedded splash screens
• Remove extraneous data surrounding FAT16 images
• Encode FAT16 images to ROM files
• Insert splash screens into new ROM files
But you'll find not all functionality is available for all devices.
I'll post the help file (with a user guide) when it's ready, but in the meantime feel free to have a play and help me test the apps :wink:
Bal
We at here very proud of you bal666!
great job.....keep it up!
I'm not doing a Windows GUI again ... had to learn MFC ... and yuck!
But thanks for the vote of confidence!!
By the way, if anyone knows what the ROM header fields called Unknown really are, I would very much like to know.
And yes, I've recently realised that the field I call "Device ID" is actually the memory location the ROM should be dumped to (well that's my current thinking anyway)...
Cheers
Bal
Your a star Bal66
Thanks
great app!
thank you bal!!
s
Hello bal666,
Thanks so much for this great program .. I tried it with my imate PDA2K and it encodes the files and decode it correctly .. The thing is , how I can modify the .fat file or edit it ?! ,, I found a program to unpack .fat files but not to pack it back again .. I hope you can tell us how we can manage the *.fat file m8
Thanks again m8 for this nice program and best wishes & regards :wink:
Great Tools
Great....great tools bal666!!!
hawk_mate
You can add or delete cab file and modified Ext ROM by your own using *.fat files, you can mount it using extra drive pro, and use lika other disk....
Is this a tool for exposing the Extended ROM on my magician? Sorry for the n00b question, but i dont get the start post.
Hawk_mate,
cornelius is right - use Extra Drive Creator Pro (you can download a demo version), or if you use linux then you can mount the file as a fat type.
If you use extra drive creator then turn off the recycle bin for the mounted drive - otherwise you'll have fun deleting files from it!!
I will finish the help file, and it contains all of this info...
Yzord,
nope, it won't expose the extended rom - it will allow you to modify the image file (ms_.nbf) that's used when flashing new roms to your device.
I think there may be a program around that will allow you edit the extended rom on your device (do a search, cause I don't really know!).
Have fun
Bal
Before Help file from Bal
Maybe before bal release the help file i'l post my experience while using his tool, ( I'm using for Magician and alpine ). I hope it will help newbie like me to learn more.Once again it newbie guide sorry if look basic but it's from newbie to newbie.
First, my own opinion say "THIS IS THE EASIEST WAY TO EDIT YOUR EXT ROM" thanks to bal!!! (even for newbie like me)
Maybe the tools you need is:
1. Bal's ROM editor (Ofcourse)
Tool to encode you EXT ROM ( Contains programs that installed
auto when we do hard reset.
2. Extra Drive pro
To mount ms_.fat file after we decode our EXT rom...
3. MaUpgradeUt_NoID
To update your ROM
For extra:
1. nb_image_converter_859_418
To create your own splash screen ( Only need 320x240, jpeg/bmp file)
2. comdlg32_901
Don't know what..but if you didn't run it,nb_image_converter_859_418
will fail to run
Now take a journey:
1. Just extract bal's ROM tool and you can run it....chose decode...
2. Browse your ext rom (ms_.nbf),press next
3. just leave option.... but if you want you can extrak the splash screen
(so you can keep the original, who knows you'll miss it)
4. Then run your Extra DrivePro...
5. Chose file to drive, browse your ms_.fat file, mount...
6. Turn of recycle bin on that drive!!!
7. Edit your Ext ROM...( add or delete app ) Don't for get edit txt file...
8. Cole it and dismount but dont delete container...
9. If you want to edit your splash screen go to step 14 first
10. Run bal's ROM tool again, chose encode
11. Browse your *.fat file, (and *.nb file if you want change splashscreen)
12. Run Encode, move your ms_.nbf to update file of ROM...
13. Ready to update using "MaUpgradeUt_NoID", first you'll get
"Country ID Error", DON'T WORRY JUST RUN IT ONCE again...
14. Get your image file, must 320x240 sized
15. Run "comdlg32_901" just one time only
16. Run "nb_image_converter_859_418" browse your pict
17. Save as nb....
18. Back to step 10
Hope those step by step will help newbie like me...
Yup even you newbie don't be affraid to try .if affraid, you'll never find something new....
My suggest just: Have a original ROM back up...so if you have a trouble just go to bootloader, and install the original ROM
Ok... have nice try...
Anyone tried this on the main rom yet, the nk_.nbf? I don't w
nt to sound dis-respectful, the tool is marvelous, but I'd like to hack the camera for instance with the updated one. I'm havin BS, so why cook my ext_rom as i'm not even using it. Just want to create a rom that can doesn't need any patches anymore. Know what I mean
Cheers, M
Excellent app :lol: thanks
Cornelius,
nice instructions! Always worth having a quick guide - thanks.
oltp,
you can use the tool to decode the nk_.nbf file - but the result isn't a fat image. I'm sure I've seen tools on this forum somewhere which allow you to extract and insert files into this file ... have a look around - please do post your results as we'd all be interested to know how it goes.
Bal
Bal I will, only not sure when. It can take some time & takes some serious amount of courage to flash my own magician with a cooked os-rom.
Cheers, M
Absolutely - I'm a coward at heart!!
Many thanks for this collection of excellent tools. Already use a few of them for my own cooking
hawk_mate said:
The thing is , how I can modify the .fat file or edit it ?!
Click to expand...
Click to collapse
Use WinImage from here:
http://www.winimage.com/download.htm
Regards, NiTeSHiFT
Not working for me....Help....
I tried to open the .nba file with WinImage...
But it said "You are trying to open a hard disk image without a FAT or FAT32 partition"
Then wrror came up...
What shall I do then?
How can I add this Universal_CHT dump to the OS ROM..
And where to find this Universal_CHT dump?
Thanks
Re: Not working for me....Help....
parkertseng said:
I tried to open the .nba file with WinImage...
But it said "You are trying to open a hard disk image without a FAT or FAT32 partition"
Click to expand...
Click to collapse
I tried it only with the extension ROM and that one worked. The OS-ROM doesn't work it seems. I tried that too and got the same error.
Sorry.

Official localized Windows Mobile 6 images

Hello,
I noticed that Microsoft has just released translated version of the Windows Mobile 6 emulator images.
I tried to copy some files from the WM6 Pro French ROM (especially *.mui files) to add them into my cooked ROM to make a "french" ROM. It seams to work but the thing is that I'm able to extract only few files from ROM, I don't have permissions to copy the other files.
Is there any way to extract any ROM file from emulator image? I tried to copy them using Total Commander, Resco Explorer, RAPI, itsutils, without success... the problem occurs always with the same files. I noticed that many mui files were in used by system processes, that should be the problem.
It would be great if anyone knows how to get a file in emulator image !
Thanks.
Hi ALL,
black 3 is based on the build and kernel that the windows mobile SDK refresh was updated for.....
and where is this balck3.0?
jasjamming said:
Hi ALL,
black 3 is based on the build and kernel that the windows mobile SDK refresh was updated for.....
Click to expand...
Click to collapse
Is there also a Dutch SDK version?
If there is..we need to cook one for the hermes
leoiden said:
and where is this balck3.0?
Click to expand...
Click to collapse
it was reported to be out in 2 weeks' time.
jasjamming said:
Hi ALL,
black 3 is based on the build and kernel that the windows mobile SDK refresh was updated for.....
Click to expand...
Click to collapse
Wow it seems really interesting! Could we also expect localized versions of your ROM to come out?
Could you tell me how to get those files from SDK images?
schaps said:
Hello,
I noticed that Microsoft has just released translated version of the Windows Mobile 6 emulator images.
I tried to copy some files from the WM6 Pro French ROM (especially *.mui files) to add them into my cooked ROM to make a "french" ROM. It seams to work but the thing is that I'm able to extract only few files from ROM, I don't have permissions to copy the other files.
Is there any way to extract any ROM file from emulator image? I tried to copy them using Total Commander, Resco Explorer, RAPI, itsutils, without success... the problem occurs always with the same files. I noticed that many mui files were in used by system processes, that should be the problem.
It would be great if anyone knows how to get a file in emulator image !
Thanks.
Click to expand...
Click to collapse
Hi.
Can you put the link to localiced emulator images? i'm looking for spanish one to see how to traslate the WM6 to.
Thanks.
jcespi2005 said:
Hi.
Can you put the link to localiced emulator images? i'm looking for spanish one to see how to traslate the WM6 to.
Thanks.
Click to expand...
Click to collapse
here you go....
link:
http://www.microsoft.com/downloads/...26f-a913-4f370a65a582&DisplayLang=en#filelist
chaos42 said:
here you go....
link:
http://www.microsoft.com/downloads/...26f-a913-4f370a65a582&DisplayLang=en#filelist
Click to expand...
Click to collapse
Thanks man...downloading now...
Regards.
jasjamming said:
Hi ALL,
black 3 is based on the build and kernel that the windows mobile SDK refresh was updated for.....
Click to expand...
Click to collapse
Can you make a short explain on how to extract files from the emulator (if this is the way you obtain the files for Black 3) ?
Thanks man.
Launch the emulator and configure it run with Active Sync.
I did this some time back to extract the sound files from the old PPC2003 image. (There may be a much easier way. Active Sync is also very slow for transferring all the files in the ROM.)
abubasim said:
Launch the emulator and configure it run with Active Sync.
I did this some time back to extract the sound files from the old PPC2003 image. (There may be a much easier way. Active Sync is also very slow for transferring all the files in the ROM.)
Click to expand...
Click to collapse
I'll give a try and report here...
Thanks.
schaps said:
Wow it seems really interesting! Could we also expect localized versions of your ROM to come out?
Could you tell me how to get those files from SDK images?
Click to expand...
Click to collapse
no i didnt get he files from the SDK images.
the SDK images were updated to suit the ROM Build and KERNEL of black 3.
think about it.....
jasjamming said:
no i didnt get he files from the SDK images.
the SDK images were updated to suit the ROM Build and KERNEL of black 3.
think about it.....
Click to expand...
Click to collapse
Understanded.
But the really port that open the localiced images for us is the posibility to traslate one ROM (black 3.0, for instance) into any language, if i am not wrong.
Regards.
jasjamming said:
black 3 is based on the build and kernel that the windows mobile SDK refresh was updated for.....
Click to expand...
Click to collapse
actually i ve had these images for a few weeks or so.. the build in the sdk refresh is exactly one build lower than our current release.
using this build would be a step backwards..
abubasim said:
Launch the emulator and configure it run with Active Sync.
I did this some time back to extract the sound files from the old PPC2003 image. (There may be a much easier way. Active Sync is also very slow for transferring all the files in the ROM.)
Click to expand...
Click to collapse
Hi again.
I connected the emulator with PC using ActiveSync, but isn't possible to copy all the files in the ROM, cause same of them are blocked by the system if i access trought AS.
Is there any other way to extract all the content of the .BIN image?
Thanks and sorry for my insistence, but this emulator image can give me a chance to put WM6 in spanish
How to extract the files from an image emulator for noobs:
1- Dowload the images that you want here:
http://www.microsoft.com/downloads/...26f-a913-4f370a65a582&DisplayLang=en#filelist
2- Install them in your computer.
3- Take the image that you want from the installation folder.
For example, if you have downloaded the images for ESN language look in the folder "C:\Archivos de programa\Windows Mobile 6 SDK\PocketPC\Deviceemulation\0C0A":
The image for Hermes is: PPC_ESN_GSM_VR.BIN (I'm not 100% sure)
- Download Tadzio's imgfs excelent tools in:
http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)
> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)
> IMGFSTODUMP IMGFS.BIN
And that's all. Files are dumped in /Dump directory. NOW IT'S TIME TO TRANSLATE!!!!!!!!!!!!!
ey man, glad to see you here
Thanks.
Edit: A little advice, in the great last post by VivaErBetis, when i use NBSplit, i must put -emu in small to work.
WHOOOOOOT DUTCH ALSO!!
Gonna try this..
but not now im going away for a few days..
dutty said:
actually i ve had these images for a few weeks or so.. the build in the sdk refresh is exactly one build lower than our current release.
using this build would be a step backwards..
Click to expand...
Click to collapse
maybe i am mistaken then........
the build i have is the latest one available, its only 4 days old.

[NEW] Kaiser HTC Home v.2.0.720719 BW and Color

OEM supplied by Schaps. This version already integrated in his last ROM.
Not like previous version, this version Profile Tab already work correctly. No need to do anything. I have use it for several days and I dont notice any notifications queue issue or wild vibrate at all.
But I do change the following:
-Installation directory change to \HTCHome instead of \Windows
-To get Brightness shortcut working, the same patch as previous version applied.
-The same patch applied to enable the Tab Setting through registry.
Other than that Nothing. Much better version than v1.5
Color version uploaded!!!!
If you are ROMcooker, download the htchome.dll for rom cooker .
Install sdkcert.cab if you have not done so.
There are about 100 pages of discussion about v1.5. Lets not repeat what have been discussed over there like: Clicking left most mail icon will take you to MMS, how to change music tab tolaunch HTC Audio Manager, and so on and so on. I dont plan to follow up closely on these thread as I think this version is very good already. Should there be any fix, change, etc please refer to the respective post.
Enjoy
Is this better than the one you had released with your kaiser skin?
Currently i am using that, is it worth me updating?
Thanks
Bennec, the one you are using is v1.5.xxxx. Very earlier and uncomplete version that has been tweaked to make it reliable enough to be used. This version is a new build with the profile tab working and additional features in the contact tab thatenable you to select what number ina contact for the speed dial. Definately worthed.
Can you post a version where the files do go in the windows directory? I want to cook this in, but not have duplicates.
TooSharp said:
Can you post a version where the files do go in the windows directory? I want to cook this in, but not have duplicates.
Click to expand...
Click to collapse
you can, just use windiff on the SYS and OEM folders of your kitchen, the dump folder is created by processing these 2 folders, so any file dups will be in there BEFORE you run buildos.exe.
add you package, then run windiff ont he SYS and OEM folders, it will find the file duplicates, and delete the ones that ARE NOT from your new package!!
bennec83 said:
you can, just use windiff on the SYS and OEM folders of your kitchen, the dump folder is created by processing these 2 folders, so any file dups will be in there BEFORE you run buildos.exe.
add you package, then run windiff ont he SYS and OEM folders, it will find the file duplicates, and delete the ones that ARE NOT from your new package!!
Click to expand...
Click to collapse
Maybe I should have been more clear.
When creating a rom, all files will be placed in the windows directory, if you need files in a different directory like the cab posted above you will have to use initflashfiles which just copy the files to a new folder, then you will have duplicates. I just don't want 2megs of photos in two spots.
Garphical Anomolies
@schen you need to swap some of the icons for my fixed ones!!
please Download this Original Icons Fix and add it to you package. 2 of the black and white icons (Music and People) dont react properly when you select them.
that link fixes them!! (it is not just yours, it is a common problem with all htc home plugins!!!)
TooSharp said:
Maybe I should have been more clear.
When creating a rom, all files will be placed in the windows directory, if you need files in a different directory like the cab posted above you will have to use initflashfiles which just copy the files to a new folder, then you will have duplicates. I just don't want 2megs of photos in two spots.
Click to expand...
Click to collapse
Your question makes no sense then!
When you COOK this in obviously you would remove the version you already have in the ROM therefore you would not have the duplicates.
Also if you just created an package out of the cab above you will get NO initflashfiles therefore the package will install to the windows directory!!!
bennec83 said:
Your question makes no sense then!
When you COOK this in obviously you would remove the version you already have in the ROM therefore you would not have the duplicates.
Click to expand...
Click to collapse
You still don't understand. My problem is NOT buildos failures. I don't want duplicates when the rom is complete. Any time you use a initflashfile you will have duplicates in the finished rom. That is what they are for. Again the problem is not with duplicates in the OEM and SYS. If you go back and check my posts you will see I helped you with this exact problem. I know how to create a rom!!!! What I don't know how to do is edit the dll file to redirect it to look in the windows directory for the png files. Hence why I'm posting.
bennec83 said:
Also if you just created an package out of the cab above you will get NO initflashfiles therefore the package will install to the windows directory!!!
Click to expand...
Click to collapse
Yes you do get a initflashfile that copies all the png files to HTCHome. See attached.
schen, installed & everything working fine, except for one, am unable to use the hardware navigational pad when accessing music tab, from there u can't proceed to go up, go to ff, rw or play button.
Touchscreen function (for all of the above ff, rw & play tabs) in music tab is working though.
thanks anyway.
TooSharp said:
You still don't understand. My problem is NOT buildos failures. I don't want duplicates when the rom is complete. Any time you use a initflashfile you will have duplicates in the finished rom. That is what they are for. Again the problem is not with duplicates in the OEM and SYS. If you go back and check my posts you will see I helped you with this exact problem. I know how to create a rom!!!! What I don't know how to do is edit the dll file to redirect it to look in the windows directory for the png files. Hence why I'm posting.
Yes you do get a initflashfile that copies all the png files to HTCHome. See attached.
Click to expand...
Click to collapse
Funny, i created the package and i didnt get that!!!
il have to look into the flashfile generator in using (im not using the core one that you are!!)
Thanks for the heads up and apologies for the confusion!!!
bennec83 said:
Funny, i created the package and i didnt get that!!!
il have to look into the flashfile generator in using (im not using the core one that you are!!)
Thanks for the heads up and apologies for the confusion!!!
Click to expand...
Click to collapse
No problem. Thanks for the help. Sometimes it's hard to convey what you are thinking in words, especially about something so confusing.
TooSharp said:
No problem. Thanks for the help. Sometimes it's hard to convey what you are thinking in words, especially about something so confusing.
Click to expand...
Click to collapse
Well then my answer to your question would be to remove the initflashfile, then everything would get installed to the windows directory and since you have no need for shortcuts, this would be fine!!!
been using this for a while and saw the new version a while ago. has option of more when u go to the 4 day detail in weather. fonts seem nicer and all. looks like a good upgrade to 1.5 Bennec83 irc bro
schen said:
OEM supplied by Schaps. This version already integrated in his last ROM.
Not like previous version, this version Profile Tab already work correctly. No need to do anything. I have use it for several days and I dont notice any notifications queue issue or wild vibrate at all.
But I do change the following:
-Installation directory change to \HTCHome instead of \Windows
-To get Brightness shortcut working, the same patch as previous version applied.
-The same patch applied to enable the Tab Setting through registry.
Other than that Nothing. Much better version than v1.5
I will create a separate Cab based on Schaps color version as well in a minute after a few try this cab with no problem.
Enjoy
Click to expand...
Click to collapse
Thank you for the new version, and tab setting is essential. Thanks again!
bennec83 said:
Well then my answer to your question would be to remove the initflashfile, then everything would get installed to the windows directory and since you have no need for shortcuts, this would be fine!!!
Click to expand...
Click to collapse
Just tried that. It doesn't work without the png files in the HTCHome directory. I guess we can't have everything.
The special dll for installing n Windows directory uploaded. Use that dll.
On the subject of weather plugin.
I am not sure why is there a need for a pre-configured xml file. Anyway, you need a gui to choose the city. Why not have a gui where you could enter the data which is stored on xml file. I suppose rather than sending an entire xml line when communicating with xml service, build an xml file base on the data entered via gui.
As I understand it, the DLL was just edited using a hex editor as \HTCHome and \Windows has the same number of characters, it sounds like it wasn't a decompile thing or something like that.
I'm not at home at the mo so I can't check but if you load the DLL up into a hex editor (winhex?) then replace all the \HTCHome text with \Windows, you should be good to go.
This is just my uderstanding though of what I've read in the previous....saga
Smiffy.
schen said:
The special dll for installing n Windows directory uploaded. Use that dll.
Click to expand...
Click to collapse
Thanks for the fix!!

Create CAB file on the device.

Hi.
Does anyone know if it's possible to create a CAB file directly on my phone? I want to do it through C#, so either an assembly or command-line app would be ideal. I think I'm asking for something difficult here, but have my fingers crossed.
You can do it as sktools have software for phone that does the job all be it in a very tedious laborious way
Cheers mate. Nice to know that it can be done. Now just need to figure out how!
let me know if this one helps you out:
http://www.codeproject.com/KB/files/CABCompressExtract.aspx
Thanks RAMMANN.
At first that looked great, but then I read the following...
There are two completely different types of CAB files: The ones which this project supports are the "Microsoft CAB" files (also called "MS-CAB"). The internal pack format may be Microsoft's MSZIP or LZX. Some years later, InstallShield created the "InstallShield CAB" files. But these are absolutely incompatible with the MS-CAB files although they use the same file extension!
Click to expand...
Click to collapse
Since I'm looking to build cab installers, rather than just compressed & zipped files, it looks like I may be out of luck. I'll keep looking anyway.
Thanks for the suggestion mate.
???
I didn't know there's anything Installshield related on a mobile phone. Are you sure? I guess they are talking about PC installers. In your position I would try the sources to read an existing mobile CAB and you'll see if it's working.
Oh and btw I think that the mobile CABs are nothing but compressed archives but the installer extracts _setup.xml which is in all contemporary cabs and this contains all the installation infos needed.

SystemCSC\String Language Texts, Fonts, Keyboard, etc.

SystemCSC\String
This folder includes our Texts... btw. this is the compressed 7 MB part at start of *.CSC files.
With Editor hard to read, but today I found something.
See Screenshots.
Maybe we can find usefull infos...
Admin.rsr
Yes, Codes are not new... but maybe other usefull infos in other files.
Tool is attached.
GeeXtractor ... 2005
Best Regards
adfree said:
SystemCSC\String
This folder includes our Texts... btw. this is the compressed 7 MB part at start of *.CSC files.
With Editor hard to read, but today I found something.
See Screenshots.
Maybe we can find usefull infos...
Admin.rsr
Yes, Codes are not new... but maybe other usefull infos in other files.
Tool is attached.
GeeXtractor ... 2005
Best Regards
Click to expand...
Click to collapse
adfree...
Does tool give you access to admin settings? I am trying to disable AMR half rate (5.90kb/s) voice codec on my Wave so it only makes calls using AMR full rate (12.2kb/s). Have you found anything related to voice codecs?
The only Audio menu I know... is under:
*#197328640#
[5] Audio
Never tried, never investigated further.
Sorry.
Best Regards
SystemCSC\String
Click to expand...
Click to collapse
so where is that in an extracted "by trix"firmware files
@ mylove90
Check your handset with sTune for instance...
TriX NOT extract this CSC part.
Best Regards
adfree, thank you, you are one of the few who is doing something in process of bada-hacking .
Is it possible to pack changed .rsr files back in the CSC? If yes, then how? What is this method of packaging - QMD?
Thanks again!
It may be useful tool: Qualcomm & Broadcom MultiManager. It is for Samsung Star, but allows you to conveniently edit the .rsr files and decrypt firmware files without PSAS.
Xenоn
1000 x thanx.
Very usefull Tool.
I'm not able to use RC1 part and not smart enough to open RBM files...
This would be very great. If it can show 32 Bit Pictures...
Is it possible to pack changed .rsr files back in the CSC? If yes, then how? What is this method of packaging - QMD?
Click to expand...
Click to collapse
JB6 uses IMRC ... "same" like QMD...
RC1 and first 7 MB of CSC are Images. Mounted into RAM as Image.
Boot-> Decrypt + Decompress and only hold in RAM
NOT written into moviNAND...
So only encrypted and correct compressed QMD file is only chance to change something...
Maybe one day we could remove this protection...
I have no idea if QuB Fullversion can rebuild valid QMD files...
We should ask the Developer...
Best Regards
How to open RBM files?
Attached from S8500...
With GeeXtractor I see Resolution Color Depth... 32 Bit... but how to open this with QuB.
rk-team.net seems home of QuB.
Thanx in advance.
Best Regards
Edit:
Found newer Version... RBM now open, but seems no 32 Bit support yet.
http://rk-team.net/showthread.php?11-%CD%EE%E2%FB%E5-%E2%E5%F0%F1%E8%E8-QuB
I've registered to QuB home.
JB6 uses IMRC ... "same" like QMD...
Click to expand...
Click to collapse
Sorry, but I don't understand very well what it means... This ia a method of encoding? But, if I understand correctly modify the first 7 mb of CSC today is impossible, because we can not decrypt/encrypt this file?
I found Samsung GeeXtractor 0.7i with english interface, but still doesn't open 32 bit rbm file.
And maybe you find usefull another tool for samsung handsets, BinEdit - hex editor, ARM disassembler/debugger and many more for ARM-processor code. I found Deutch lang file, you're from Germany, right?
P.S. About QuB, "trial vesion, full version" - it's only joke from developer, QuB_public_v.0.3_001_beta is the full version and the other does not exist
P.P.S.And sorry for my bad English, please
@ Xenоn
Thank you very much again. I've started Thread about QuB:
http://forum.xda-developers.com/showthread.php?t=1010761
BinEdit I was not able to start... no idea yet...
English Version of GeeXtractor is nice.
Best Regards
any idea of how to modify rsr files???
can some one upload strings folder from XXJL2???
i am working on Arabic bada 1.2 as it didn't arrive until now
thanks in advance
p.s : just forget it
Only "trial version" is a joke...
But this vesion is "Public"..
As you understand i have "private" version with many features ( RSR editor and RBM editor for example) ))
With time some functions from private move to public )))
mylove90 said:
any idea of how to modify rsr files???
can some one upload strings folder from XXJL2???
i am working on Arabic bada 1.2 as it didn't arrive until now
thanks in advance
p.s : just forget it
Click to expand...
Click to collapse
hi
is this possible to copy the string folder from kc1 and paste it into XXJID or other 1.2 ?
RusEm said:
Only "trial version" is a joke...
But this vesion is "Public"..
As you understand i have "private" version with many features ( RSR editor and RBM editor for example) ))
With time some functions from private move to public )))
Click to expand...
Click to collapse
... @ RuEm is also possible to have the settings used on Wave-GT8500 ... thanks by psycoy
WaveRemaker can handle also CSC QMD part like RC1... at this time only cut before extract...
QMD is Header... End of file is before CDABCDAB
So we could study/compare some CSC ...
Best Regards
I'm missing such posts, where someone tried to edit *.rsr files and post results...
Maybe toooo hard task to start...
Absoulute beginning:
Or in which Firmware are most languages included.
I will count... in my T-Mobile I have 12 supported Languages.
Will add soon which one...
This is bada 1.0
On my S8530 KD6... bada 2.0 I see 11...
How many in bada SDK 2.x
I can count 50
I'll try to upload soon *.rsr files... maybe they are complete... from SDK.
Best Regards
For study... here is first part of S8600 CSC with arabic Language.
Warning!Caution!
For study/research...
You need to know what you do...
Best Regards
Hmmmm...
for instance Admin.rsr from S8530 KD6 (bada 2.0) and from S8500 JL2 (bada 1.2) is same. KJ1 also... and also bada SDK 2.0
Admin.rsr from S8600 is different...
So it seems useless for S8500/S8530...
Best Regards
adfree said:
For study... here is first part of S8600 CSC with arabic Language.
Warning!Caution!
For study/research...
You need to know what you do...
Best Regards
Click to expand...
Click to collapse
I tried to overwrite QMD in XPKJ1 CSC and then flash that file to the phone
I know that this probably won't work but strange thing that i got hash check error in multiloader so i wasn't able to even test this
there was a 5 mb difference between old and newer CSC
Any ideas how to disable this check ?!
Best Regards
I have insert from QMD to 0xCDABCDAB...
So you have remove from start and 1024 Byte from end...
Now see carefully... if smaller then KJ1, then maybe fill with FFFFFF difference, to have same size...
Then read this:
http://forum.xda-developers.com/showpost.php?p=10499359&postcount=36
Maybe this time 2 x...
Minimum at end of whole file and as you can see, uploaded QMD part ends also like complete Firmwarefile...
Best Regards

Categories

Resources