Installing CABs and XML - 8525 - 8525, TyTN, MDA Vario II, JasJam ROM Development

yeah, I'm new...get over it.
I have a Cingular 8525 (hermes) SuperCID and all that good stuff. I've upgraded to WM6 and tried a few different versions out. However, I've found lots of other upgrades and littles installs I'd like to include now. I know how to install the Roms and RUU and stuff...but the folders with _setup.XML files I have no idea what to do with!!!
Please point me in the right direction. I learn quickly, self taught to this point. Thanks.

PunkassBeats said:
yeah, I'm new...get over it.
I have a Cingular 8525 (hermes) SuperCID and all that good stuff. I've upgraded to WM6 and tried a few different versions out. However, I've found lots of other upgrades and littles installs I'd like to include now. I know how to install the Roms and RUU and stuff...but the folders with _setup.XML files I have no idea what to do with!!!
Please point me in the right direction. I learn quickly, self taught to this point. Thanks.
Click to expand...
Click to collapse
in my signature there is a program called Xml Provxml loader... that will load your xml files...

Or you creae a cab of the xml with makecab.exe (download at microsoft)
Run DOS-commandline:
makecab.exe _setup.xml name.cab
Voila!

walshieau said:
in my signature there is a program called Xml Provxml loader... that will load your xml files...
Click to expand...
Click to collapse
Hey, thanks for responding so quickly. I downloaded that file you referred me to and got-
Error: An unexpected error has occurred in the Config Loader.exe
Details: IOException (with some "at System.IO.__Error.WinIO...." command line-type jargon afterwards.).
I did note that Net compact Framework 2 needed to be installed...and it is. Am I doing something wrong?
Thanks!

Related

problem during cooking lvsw 0320

i have cooked successfully more than 10 roms, WWE vesion to CHS vesion, they all work fine.
but when i want to cook a new rom based on LVSW 0320 vesion, i failed. i found that the default.hv can't be transfered to txt file, once i edit this file, os can't boot and stick on the SubSplash screen. but user.hv can do that.
sorry for post this new thread but i have posted under lvsw's thread and no one answer me.
can anyone help me plz, i really like this ROM.
thanks in advance.
i had the same problem... then i came up with a briliant solutiion
you know the user.hv and initdata can be edited without any probs..also this version of the rom deploys the ext rom aswell.. so what i did was i edited config.txt and added a cab with the HKLM etc regs that go into default.hv into the dump folder and generated a rom with that cab inside..
and VOILA... now i have a custom rom with all my settings... i figured this way out after hours of frustratingly trying to edit the default.hv
hope this helps
zohaer21 said:
i had the same problem... then i came up with a briliant solutiion
you know the user.hv and initdata can be edited without any probs..also this version of the rom deploys the ext rom aswell.. so what i did was i edited config.txt and added a cab with the HKLM etc regs that go into default.hv into the dump folder and generated a rom with that cab inside..
and VOILA... now i have a custom rom with all my settings... i figured this way out after hours of frustratingly trying to edit the default.hv
hope this helps
Click to expand...
Click to collapse
thank u, i have tried ur solution, but there is a big problem, .cab file doesn't support chinese caracter, so edit default.hv is the only way.
dont know if this would help you but take a lot here :
www.asukal.jp/hv_rom/hive2.txt
or simply use Make_HV, found it in the development & hacking thread.
First covert the hv file to rgu (which is simply REGEDIT4 Format) then make changes and convert it back.
qooqoo said:
i found that the default.hv can't be transfered to txt file, once i edit this file, os can't boot and stick on the SubSplash screen. but user.hv can do that.
Click to expand...
Click to collapse
This is my little surprise
qooqoo said:
thank u, i have tried ur solution, but there is a big problem, .cab file doesn't support chinese caracter, so edit default.hv is the only way.
Click to expand...
Click to collapse
You don't need a .cab for this. The program that goes through Config.txt can handle XML files with registry settings directly. So, grab any of the .xml files listed in Config.txt as a template for your own .xml file. Then just add your new .xml file plus a line in Config.txt referencing this new file, and you're all set.
There's another solution which I found much more convenient: use bepe's Rom Kitchen, and import whatever ROM you want. If I'm not mistaken, it's even available bundled with a Chinese ROM already. There you can edit the .rgu files from which the Registry will be created. This eliminates the need to read any of the .hv files. Worked very well for me! Also, since bepe's kitchen recreates the packet structure of the ROM, it's so much easier to understand which files and registry entries have a dependency or belong together. Highly recommended!
Cheers
Daniel
lvsw said:
This is my little surprise
Click to expand...
Click to collapse
weird suprise
lvsw said:
This is my little surprise
Click to expand...
Click to collapse
Why would that be a surprise? Is there more to this than meets the eye?
dutty said:
weird suprise
Click to expand...
Click to collapse
Indeed, I've been hitting my head against it for some days now...
lvsw said:
This is my little surprise
Click to expand...
Click to collapse
himan,give us a solution plz, it is a so good rom, but i can't add anything i want.
tadzio said:
grab any of the .xml files listed in Config.txt as a template for your own .xml file. Then just add your new .xml file plus a line in Config.txt referencing this new file, and you're all set.
Click to expand...
Click to collapse
thk u but i don't know how to edit a xml file, any suggestion?
tadzio said:
There's another solution which I found much more convenient: use bepe's Rom Kitchen, and import whatever ROM you want.
Click to expand...
Click to collapse
it is for CHT but not for CHS, there is a lot of CHT roms yet, cooked or offcial, but there isn't a official rom in CHS, a just want to convert 0320 vesion to CHS vesion.
I will be watching this thread.
Waiting for good news.
qooqoo said:
i have cooked successfully more than 10 roms, WWE vesion to CHS vesion, they all work fine.
but when i want to cook a new rom based on LVSW 0320 vesion, i failed. i found that the default.hv can't be transfered to txt file, once i edit this file, os can't boot and stick on the SubSplash screen. but user.hv can do that.
sorry for post this new thread but i have posted under lvsw's thread and no one answer me.
can anyone help me plz, i really like this ROM.
thanks in advance.
Click to expand...
Click to collapse
I have the same problem...the LVSW 0313 version was fine...then the new LVSW 0320 won't boot..stopped at the subsplash screen...it is strange that the default.hv is there but doesn't seem to booting the file.
qooqoo said:
thk u but i don't know how to edit a xml file, any suggestion?
Click to expand...
Click to collapse
Any Unicode-capable editor will do. Personally, I use UltraEdit.
Cheers
Daniel
Please don't take offense, but I'm starting to think you got the ROM as it is..."protected" that's why all the customizations are done via AutoRun.exe and xml files.
i found that lvsw 0325 edition can be edit.
qooqoo said:
i found that lvsw 0325 edition can be edit.
Click to expand...
Click to collapse
Yes, 0320 can't be edited. But 0325 could. But you can't use the regular tools..you have to use the "more Storage" tool, then just manually copy the "default.hv" and "user.hv" from the "dump" folder, use the regular tool and covert it to .reg. Then you make modifications to the registry file, convert it back to .hv and copy them back to the "dump" folder..you can add files by just copying files into the "dump" folder..after you are all done with it, just continue with the "more storage" tool to make your new-os.nb

How to Change Bitmap in Software Keyboard?

All the nordic user wich have åä and ö in there keyboard often uses "scandivaisktastatur5.cab" (se attached file) to replace the orginal software keyboard in a WM6 ROM. Tho its very ugly and has the old WM5 design I would like to change the bmp picture in the dll:s inside the cab. How do I do that? I can extract the Cab file, and replace the bmp file in the dll:s but how do I make a Cab out of it again? I have tried to change the BMP picture inside the dll and then copy the dll file in the windows directory (where the dll files are extracted by the cab file) but that will not work. Can anybody help pleas??
Hi
I have already tried what you suggests with no luck. This is what I did:
1) Extracted the dll from the cab
2) Extracted the bmp from the dll with resource hacker
3) Edited the bmp in Photoshop (see the attachment)
4) Inserted the new bmp into the dll with resource hacker
5) Replaced the original dll in the cab with the new one
6) Installed the cab
...and it did not work. Maybe it has something to do with signing of the dll or something, I don't know. If someone wants to try another shot, feel free to us the attached keyboard skin.
Regards,
PK
You would have to sign this dll etc, and even then it may not work - if you cook your own rom it might, but have a look at the new app that came out recently to change the Wait cursor. See how that's been signed and the certificates it uses, with an mui file. A similar technique may help here.
V
paalkr said:
Hi
I have already tried what you suggests with no luck. This is what I did:
1) Extracted the dll from the cab
2) Extracted the bmp from the dll with resource hacker
3) Edited the bmp in Photoshop (see attachment)
4) Inserted the new bmp into the dll with resource hacker
5) Exchanged the original dll in the cab with the new one
6) Installed the cab
...and it did not work. Maybe it has something to do with signing of the dll or something, I don't know. If someone wants to try another shot, feel free to us the attached keyboard skin.
Regards,
PK
Click to expand...
Click to collapse
Okaj...I did the similar thing.....but i guess that you need sign it with a certificate...I hav watched a little on that maybe making your own root certficate and sign the Dll with it, but it seams to be very complicated :-(
vijay555 said:
You would have to sign this dll etc, and even then it may not work - if you cook your own rom it might, but have a look at the new app that came out recently to change the Wait cursor. See how that's been signed and the certificates it uses, with an mui file. A similar technique may help here.
V
Click to expand...
Click to collapse
Do you have a link to that??
Found this
http://forum.xda-developers.com/showthread.php?t=321236
So someone know what his doing....i must be possible to do a nordic keyboard them
vijay555 said:
You would have to sign this dll etc, and even then it may not work - if you cook your own rom it might, but have a look at the new app that came out recently to change the Wait cursor. See how that's been signed and the certificates it uses, with an mui file. A similar technique may help here.
V
Click to expand...
Click to collapse
Hi
Thanks for the info Vijay! BTW: I use many of the free tools you have developed for the XDA's! Thanks for the effort!
The wait cursor thing was done on WM5, right? Could we use the same certificates or does WM6 need others?
Regards,
PK
uffe6 said:
Found this
http://forum.xda-developers.com/showthread.php?t=321236
So someone know what his doing....i must be possible to do a nordic keyboard them
Click to expand...
Click to collapse
Hi!
I don't think the German keyboard is excactly the same thing as we try to achieve. the German one installs as an separate SIP. The SkandinaviskTastatur.cab changes the inbuilt default keyboard SIP, but there is definitely possible to learn something from the German one.
Regards,
PK

Custom Smartphone ROMS

Does anyone know how to make custom roms for devices like the Excalibur or other Smartphones. I want to remove a lot of the clutter and add some applications of my own.
JAmerican
Not there yet AFAIK.
The closest I have gotten is extracting the rom components and mixing them. I took the HTC Splash, the HTC Radio, and the T-Mobile OS; made a custom ruu and flashed successfully. Now my Dash shows HTC Screen when it boots and I have the updated Radio. I managed to dump the T-Mobile OS, but haven't been able to rebuild. HTCRT by Dark Simpson will create the ruu_signed.nbh for use with the uspl though. NBHEXTRACT will break the nbh into its components. Tried the HYPERCORE tools, that's how I got the dump of the OS, but cannot do the xip parts with these tools for some reason. PKG Tool works. Have the OEM and SYS folders, but XIP comes up empty.
This is something I hope to see... I mean why even bother with getting the HTC unbranded version if we can remove all the clutter ourselves?
momentarylapseofreason said:
This is something I hope to see... I mean why even bother with getting the HTC unbranded version if we can remove all the clutter ourselves?
Click to expand...
Click to collapse
Bug fixes! Even if you build a custom rom, you would want to start with the latest available OS to get in on whatever bug fixes have been added. Then you would rip it apart and add/remove whatever you wanted. Sometimes the new OS would also have added/improved features, but the bug fixes is the main one.
mar11974 said:
The closest I have gotten is extracting the rom components and mixing them. I took the HTC Splash, the HTC Radio, and the T-Mobile OS; made a custom ruu and flashed successfully. Now my Dash shows HTC Screen when it boots and I have the updated Radio. I managed to dump the T-Mobile OS, but haven't been able to rebuild. HTCRT by Dark Simpson will create the ruu_signed.nbh for use with the uspl though. NBHEXTRACT will break the nbh into its components. Tried the HYPERCORE tools, that's how I got the dump of the OS, but cannot do the xip parts with these tools for some reason. PKG Tool works. Have the OEM and SYS folders, but XIP comes up empty.
Click to expand...
Click to collapse
Thanks for the insight. I reached as for as extracting the .NBH into .NB files with OS, GSM etc. How do you extract these. The PKG Tool didn't work for me and the Hypercore tools aren't working right either.
JAmerican
Hey all,
I was able to downgrade to WM5 and I am starting to understand a few things regarding ROM building but I still don't know how to edit the Windows.nb or OS.nb file. Can anyone offer suggestions. I am trying to optimize it so that there is less clutter.
JAmerican
I was able to extract the the OS.nb before and edit it, but unfortunately, it was not fully extracted as i was hoping, at first i thought i was able to fully extract it, but when i tried to reflash again the OS, it was flashed normally but not as functional as normal one, many were not included, the Start Menu seems to be incomplete, no keypad lock, no quickapp etc... so i came up with a conclusion that it was not fully extracted..even the initflashfiles.dat were not present on the dumped files, i thought that file was the only one missing and i tried to manually copy it from /Windows/ directory and put it on the dumped files folder..but it wasn't a success.
Anyone successful to fully extract the OS? I'm slowly compiling a kitchen for Excalibur and the full extraction of the OS is only the missing part of the kitchen and i'm stuck with it. Once it is up and found a solution, then we can come up with cooked roms for Excalibur.
da_mayhem said:
I was able to extract the the OS.nb before and edit it, but unfortunately, it was not fully extracted as i was hoping, at first i thought i was able to fully extract it, but when i tried to reflash again the OS, it was flashed normally but not as functional as normal one, many were not included, the Start Menu seems to be incomplete, no keypad lock, no quickapp etc... so i came up with a conclusion that it was not fully extracted..even the initflashfiles.dat were not present on the dumped files, i thought that file was the only one missing and i tried to manually copy it from /Windows/ directory and put it on the dumped files folder..but it wasn't a success.
Anyone successful to fully extract the OS? I'm slowly compiling a kitchen for Excalibur and the full extraction of the OS is only the missing part of the kitchen and i'm stuck with it. Once it is up and found a solution, then we can come up with cooked roms for Excalibur.
Click to expand...
Click to collapse
Cool. I went back to WM5 to see if it was more efficient but with all the lack of features (email instant search, alpha-dialing, file syncing, etc.) It was not worth it. I went back to WM6. I hope we can get some cook ROMS soon. I really want more usable RAM. Could you give me the exact steps you used to extract the ROM? I tried HyperCore but it doesn't work for me for some reason.
JAmerican
JAmerican said:
Cool. I went back to WM5 to see if it was more efficient but with all the lack of features (email instant search, alpha-dialing, file syncing, etc.) It was not worth it. I went back to WM6. I hope we can get some cook ROMS soon. I really want more usable RAM. Could you give me the exact steps you used to extract the ROM? I tried HyperCore but it doesn't work for me for some reason.
JAmerican
Click to expand...
Click to collapse
Try this mate:
Aserg's Imgfs Tools, attached on THIS thread
Place OS.nb on the same folder then execute !UI_wwe.cmd
Choose P - Unpack OS.nb <for Herald-Prophet> to dump-folder
the ROM will be dumped on the "dump" folder, but i don't think it's a complete dump, if there's anyone knows how to do the complete dump, please share
da_mayhem said:
Try this mate:
Aserg's Imgfs Tools, attached on THIS thread
Place OS.nb on the same folder then execute !UI_wwe.cmd
Choose P - Unpack OS.nb <for Herald-Prophet> to dump-folder
the ROM will be dumped on the "dump" folder, but i don't think it's a complete dump, if there's anyone knows how to do the complete dump, please share
Click to expand...
Click to collapse
Thanks for sharing! I was finally able to dump it. Now to see if I can mess around and get it to build! Wish me luck .
JAmerican
You can easily build it again, but the question again is, are the files on the dump folder complete? i wish you luck mate! keep us posted.
da_mayhem said:
You can easily build it again, but the question again is, are the files on the dump folder complete? i wish you luck mate! keep us posted.
Click to expand...
Click to collapse
I deleted some files from the ROM and rebuilt it but it was in .NBA format. I don't remember exactly what I did but I think I renamed the file to .NB and made a .NBH file out of it. Then Flashed my device. I got as far as the WM screen and was stuck there. I reflashed with the Standard WM6 ROM from T-Mobile. .
I'll try some more messing around. I really want to get some cooked roms for Smartphone edition.
JAmerican
Your right about files missing. I was able to extract the ROM and its packages and get two folders (ROM and SYS) along with other packages. The program I used (Package Tool) states that I am missing the following files:
[Missing Files]
SYS\MSXIPKernel
MODULE: busenum.dll
MODULE: cachefilt.dll
MODULE: certmod.dll
MODULE: coredll.dll
MODULE: device.exe
MODULE: devmgr.dll
MODULE: diskcache.dll
MODULE: encfilt.dll
MODULE: fatfsd.dll
MODULE: fatutil.dll
MODULE: filesys.exe
MODULE: fsdmgr.dll
MODULE: fsreplxfilt.dll
MODULE: hd.dll
MODULE: imgfs.dll
MODULE: mspart.dll
MODULE: osaxst0.dll
MODULE: pm.dll
MODULE: regenum.dll
SYS\WinCENLS_WWE
File: wince.nls
OEM\LangDB
File: initflashfiles.dat
File: mxip_lang.vol
OEM\OEMXIPKERNEL
File: boot.hv
File: boot.rgu
MODULE: cecompr.dll
MODULE: ceddk.dll
MODULE: HtcFsdspy.dll
File: mxip_initdb.vol
MODULE: nk.exe
MODULE: ONDisk.dll
and these files are in the Windows folder as well as other locations on my device. The only problem is that the device denies me access to these files. Is there a way to access these DLLs with a powerful file manager. I tried Resco and Total Commander to no avail. Anyway to trick the device into allowing me to copy these files?
Thanks.
JAmerican
I believe there is a need for a simple ROM cooking procedure on devices such as Excalibur and Vox. I'm thinking of a "Norton Ghost" procedure to backup and restore the entire OS and User Filesystem partitions.
The ROM cook procedure would then be something like this:
1. customize the device (all changes stored on device memory of course)
2. backup OS partition (using special USPL)
3. backup User File System (using special USPL)
And a user would just do this:
1. restore OS partition (using RUU)
2. restore User File System (using RUU)
3. personalize device
Does that sound acceptable?
Ok so I was able to extract the T-Mobile WM6 ROM, I was able to use the Package Tool to get it seperated into a SYS and OEM folder. I deleted things like Live Messenger and Windows Live. I put the updated version of Live Search in ROM. I only added one other application, CeleTask. I didn't want to put too much work into tweaking this thing and find it not working. I am downloading the CreateOS.exe and CreateROM.bat files and will try to compile this thing. Wish me luck.
JAmerican
jockyw2001 said:
I believe there is a need for a simple ROM cooking procedure on devices such as Excalibur and Vox. I'm thinking of a "Norton Ghost" procedure to backup and restore the entire OS and User Filesystem partitions.
The ROM cook procedure would then be something like this:
1. customize the device (all changes stored on device memory of course)
2. backup OS partition (using special USPL)
3. backup User File System (using special USPL)
And a user would just do this:
1. restore OS partition (using RUU)
2. restore User File System (using RUU)
3. personalize device
Does that sound acceptable?
Click to expand...
Click to collapse
Hey friend. I know this is not appropriate place to post this, but since you know my situation on the wifi of my phone. Would it be possible to put a working reverse flash of a tmobile dash onto mine and fix the wifi. I have tried everything. And you have been very helpful and it is much appreciated.
keep up the progress guys, i can't wait to try some of the cooked roms from users on this site
Good luck, i can't wait either....
Hey guys,
I used a tool to try and convert my unpacked ROM back to a packed (one folder ROM) and it deleted all my progress. Go figure. So I have to basically start all over again. This time though, instead of making all the changes. I am just going to remove like myFaves, update LiveSearch and add one of my own applications as well as one of my favorite applications and see if I can flash my Dash with it.
Somewhat but its my fault for not backing up.
JAmerican

NBH Util - Build, Sign & Extract NBH Files.

I like Dark Simpson's tool, but I always wanted an integrated tool to do the business... so here it is.
It lets you build an NBH, and sign it... if you untick the box then it will prompt you to select a certificate from your certificate store to sign with, otherwise it gets signed with the developer test cert... useful for testing of course.
Extraction of an NBH is quite fast since it just keeps portions cached in RAM until you want to dump them, this also means you're free to just extract constituent parts of the NBH as you desire rather than having to dump the whole thing.
the device configurations are in an XML file, it'll get extracted to the dir you run it from on first launch... eventually I'll make it possible to edit this from the app itself, for now, close the app and use your preferred text editor.
the beauty of the XML file is that you can list as many items as you like for constituent NBH parts, but please bear in mind they will go off the screen if you add a silly amount, but thus far I don't know of any devices in existence that could cause that.
UPDATE: found a small bug with the XML parser, fixed now
anyway, have at it:
thanks you very much
It's now my intention to begin introducing a shared certificate for everyone to utilise... I will slowly be replacing Hard-SPL with new versions that require the usage of a public signing certificate.
I will also be updating this so you can re-sign an already signed ROM
Thank you
Hi Oli,
In order to using your new certificate we should import your .pfx file into our private cert store. Am I correct? If I want to test another cert, it should be in the form of pfx file (including private and public key)?
Olipro said:
It's now my intention to begin introducing a shared certificate for everyone to utilise... I will slowly be replacing Hard-SPL with new versions that require the usage of a public signing certificate.
I will also be updating this so you can re-sign an already signed ROM
Click to expand...
Click to collapse
Excelent thanks
This looks useful.
Downloading.
Thank you
Rhodium version?
what´s the dependencies os NBH Util!?? i try on windows 7 and the program don´t convert the os to nbh!! framework??
tks
HI all
how can i extract the rom of my pda Airis T483, is there a log ? because mine is spanish and i need an english or frensh one ...
thanks a lot
Yup, seems windows 7 doesn't like the NBH util. And making the .exe run in XP SP3 mode makes no difference...
No new boot screens for me now.

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.

Categories

Resources