Re-pack CABs in own ROM - MDA II, XDA II, 2060 ROM Development

Hi all,
I am cooking my own ROM. I extracted original T-mobilCZ CABs from Extended ROM and now I want to add some must-have applications to my ROM. The ms_.nbf space is 16MB and If I add my appls I am over that limit by 100kB.
The problem is, that largest CAB is T-mobileCZ customization CAB. I want only something from this CAB. I want to remove Themes, Helps, some settings and so on.
Is any possibility to remove fome stuff from instalation CAB file - respectively "re-pack" it?
Something like reengeneer the instalation sources, remove something and make new instalation CAB?
Thanks for help.

Use WinCE cab-manager, that will do the job.

Are you able to save files in the extended ROM?
My Xda II 1.6.50 ROM is write-protected - how do I unprotect it?

WinCE CAB Manager is right. I just modify my operator customize CABs and cooked my own ROM. All seems to be perfect...
Thanks...

Southern_Man said:
Are you able to save files in the extended ROM?
My Xda II 1.6.50 ROM is write-protected - how do I unprotect it?
Click to expand...
Click to collapse
Code:
xda2nbftool -x ms_.nbf ms.nba 0x20040305

Related

German t-mobile ROM edit

Hy,
i got a xda2 & a mda2. both with the t-mobile 1.6 rom version.
now i want to edit the extended rom file:
<<<TMDDECustomize.sa.CAB>>>
I want to change the both splash screens (the 2 files with -splash- inside the name) and the setting for my gprs properties. the gprs setting must inside of this cab, because i cooked my own rom without this cab, and the settings aren´t on my xda after hardreset). i have vodafone german.
Two Questions:
Where are the gprs settings in the cab file. Can you tell me the filename and how i can edit this settings?
With which tool, i can make a new cab file, which i can put in my ext. rom. with every zipper that support CAB i´ve made it. But every time the xda says, this is not a windows ce file.
Best regards & sorry for my bad english...
netzgedanken

HOW to get files out from NK.nbf (nk.nba) ?

I am looking for the simple way to extract files (I need msim.dll) from WM5 ROM. I have converted nk.nbf into nk.nba but I was not able to find here any simple instruction how to get files out of nk.nba
Any help from advanced users?
I want to enable Block Recognizer in WM5PL, and the msim .dll is not included in this version of the system.
I've never worked with Athena roms before but I'd suggest trying mamaich's imgfs tools. I'm just giving you a quick response, something to try while you wait for someone who builds Athena roms to reply to your question.
Good Luck

How To: Atom Series Extended Rom Cooking

For Atom / Atom Pure / Atom Exec: Use WinImage Version 8.1 or similar program to edit IMG file. There are many programs that can do it.
Do not touch folders found in this image file. Programs that depend on these folders are: FM Radio, AutoConfig, WirelessManager, Camera, Equalizer, Album (life), ImageEditor (life)
The version of the Extended Rom is taken from the text file:
061020_AL1ARCWWE_EX0604.txt
The name is picked up versionCPAapplet.cpl (found in Settings->System Info)
So far, I did not encounter any problems changing the version numbers
The default folder name for this partition on your device is \_QHiddenPartition\ However, when we unlock this hidden partition at device runtime, we can not use the same folder name to install programs and lock it afterwards.
Normally, I used this partition to place the cabs I want to install at hard reset. This is no longer a problem with the cooked ATOM/ATOM EXEC ROMs we made because, serialzs introduced MortScript to do the automatic installation of cabs found in \_QHiddenPartition\ and \cabs\ folder found in storage card.
It is not necessary, however, to unlock the hidden partition just to edit the contents at device runtime. You can always use Total Commander to browse this partion by keying \_QHiddenPartition\ on the location bar.
For ATOM LIFE users, you can simply remove the 12-byte header of IMG file, and WinImage 8.1 can be used to edit the file. You need to restore the 12-byte header prior to flashing your device again.
tj your are very kind ^^;
Last time i ask.you say search.
i use search but still confuse cause alot of topic.
but now you posted this info.
THANKS YOU
thank you,i'm trying to cook and release WM 7.0 tonight. j/k
How to remove or add programs being install in order??? I found that del *.cab to remove the programs and copy *.cab to auto install the programs from extended rom. But i don't know the file where listed the programs is able install in the extended rom at hard reset. In the past,when i cooked BA rom, i remember that i can edit the file include the paths of the cabs I want to auto install at flash rom or hard reset.
jiggs said:
For Atom / Atom Pure / Atom Exec: Use WinImage Version 8.1 or similar program to edit IMG file. There are many programs that can do it.
Do not touch folders found in this image file. Programs that depend on these folders are: FM Radio, AutoConfig, WirelessManager, Camera, Equalizer, Album (life), ImageEditor (life)
The version of the Extended Rom is taken from the text file:
061020_AL1ARCWWE_EX0604.txt
The name is picked up versionCPAapplet.cpl (found in Settings->System Info)
So far, I did not encounter any problems changing the version numbers
The default folder name for this partition on your device is \_QHiddenPartition\ However, when we unlock this hidden partition at device runtime, we can not use the same folder name to install programs and lock it afterwards.
Normally, I used this partition to place the cabs I want to install at hard reset. This is no longer a problem with the cooked ATOM/ATOM EXEC ROMs we made because, serialzs introduced MortScript to do the automatic installation of cabs found in \_QHiddenPartition\ and \cabs\ folder found in storage card.
It is not necessary, however, to unlock the hidden partition just to edit the contents at device runtime. You can always use Total Commander to browse this partion by keying \_QHiddenPartition\ on the location bar.
For ATOM LIFE users, you can simply remove the 12-byte header of IMG file, and WinImage 8.1 can be used to edit the file. You need to restore the 12-byte header prior to flashing your device again.
Click to expand...
Click to collapse
cdmavn said:
How to remove or add programs being install in order??? I found that del *.cab to remove the programs and copy *.cab to auto install the programs from extended rom. But i don't know the file where listed the programs is able install in the extended rom at hard reset. In the past,when i cooked BA rom, i remember that i can edit the file include the paths of the cabs I want to auto install at flash rom or hard reset.
Click to expand...
Click to collapse
The script runs through all cabs present in the the two locations stated above. You don't have to edit any list like you do for AutoRun in BA. Also, AutoRun does not work with cab installation that require user interaction. Now, as for your question regarding the order they go - it's alphabetical.
Hi jiggs!!
You awesome! I have added my operator in autoconfig list, all work fine, now I have all settings for my operator!
THANKS A LOT!!
interesting in rom cooking, thats what i.m always thinking about,.
but i'm afraid to do this, i'm afraid i'll bring my atom unusable,.
thanks anyway jiggs,.
ex.image said:
Hi jiggs!!
You awesome! I have added my operator in autoconfig list, all work fine, now I have all settings for my operator!
THANKS A LOT!!
Click to expand...
Click to collapse
Pls post your settings for others, too. Thanks.
jiggs said:
For ATOM LIFE users, you can simply remove the 12-byte header of IMG file, and WinImage 8.1 can be used to edit the file. You need to restore the 12-byte header prior to flashing your device again.
Click to expand...
Click to collapse
how do you remove 12-byte header?
ichanz said:
how do you remove 12-byte header?
Click to expand...
Click to collapse
Open the file with an HEX-editor, cut the first 12 bytes and save the file. That's all.
You can use "XVI32". This Hex-editor is included in the original Scooter-ROMkitchen.
Hi all,
I use remotePROTECT as a security measure on my Atom - I find the program great.
It will be even better if I place it in extROM (hidden partition) so that it will install again upon hard reset.
I've followed the instructions that come with the software - they require me to place the program's CAB file in the extROM along with the setupE file.
I tried that - did a hard reset and nothing happened - didn't install.
I have an O2 Atom with an official ROM release installed.
Is there anything else I need to do? I note there is an Autoinst.dat file in the hidden partition, but it's encrypted or gibberish so I can't do much with it.
If I've overlooked anything can someone please suggest what I can do to make this do what I want - install itself again after hard reset.
Thanks in advance.
Avocado said:
Hi all,
I use remotePROTECT as a security measure on my Atom - I find the program great.
It will be even better if I place it in extROM (hidden partition) so that it will install again upon hard reset.
I've followed the instructions that come with the software - they require me to place the program's CAB file in the extROM along with the setupE file.
I tried that - did a hard reset and nothing happened - didn't install.
I have an O2 Atom with an official ROM release installed.
Is there anything else I need to do? I note there is an Autoinst.dat file in the hidden partition, but it's encrypted or gibberish so I can't do much with it.
If I've overlooked anything can someone please suggest what I can do to make this do what I want - install itself again after hard reset.
Thanks in advance.
Click to expand...
Click to collapse
If you have read the first post carefully, then you will understand that this won't work because the built-in AutoInstall of the official ROM restricts to signed CABs only as defined by list with no known format as of this date. That's why we have cooked ROMs to bypass this and created another AutoInstall script. There are work arounds for your purpose but definitely this solution is not for you. You have to do some research on this forum.
Anyone knows how to change or create new network settings. I found xml files in network folder and asked if there is a way to have my personal network settings like auto sms delivery or auto configure vms numbers or ...
vocian said:
Anyone knows how to change or create new network settings. I found xml files in network folder and asked if there is a way to have my personal network settings like auto sms delivery or auto configure vms numbers or ...
Click to expand...
Click to collapse
you need to secure this from your operator.
although you can edit the xml files with notepad, I don't know if the GUID found there is important. you can also generate your own GUID to have a unique value.
select the existing xml that best fit your requirements and edit it. you can't edit the cabs found in the networks because they are signed. you need to provision your own cabs. it's more like provisioning certificates using cabs.
jiggs said:
you need to secure this from your operator.
although you can edit the xml files with notepad, I don't know if the GUID found there is important. you can also generate your own GUID to have a unique value.
select the existing xml that best fit your requirements and edit it. you can't edit the cabs found in the networks because they are signed. you need to provision your own cabs. it's more like provisioning certificates using cabs.
Click to expand...
Click to collapse
thank you very much indeed. I found xml files for defualt operator and also txt file wich list this operators. Gussed that first input my operator to that list and then create new xml. but i figured if any guide for what all of this xml comands mean and the whole format.
and another question : how to edit or change cabs? I have a background of programming with c++ and visual basic.net. Is it possible for me to create my own cab without too much effort? and with which compiler ?
tnx
jiggs said:
It is not necessary, however, to unlock the hidden partition just to edit the contents at device runtime. You can always use Total Commander to browse this partion by keying \_QHiddenPartition\ on the location bar.
Click to expand...
Click to collapse
Jiggs,
I am using an atom life, I fould that I could not browse the extended rom with Total Commander. In my memory, I should be able to use TC to browse the extended rom on my ATOM EXEC. Do you know what I am doing wrong?
By the way, is it possible to unhide the extended rom?
vocian said:
thank you very much indeed. I found xml files for defualt operator and also txt file wich list this operators. Gussed that first input my operator to that list and then create new xml. but i figured if any guide for what all of this xml comands mean and the whole format.
and another question : how to edit or change cabs? I have a background of programming with c++ and visual basic.net. Is it possible for me to create my own cab without too much effort? and with which compiler ?
tnx
Click to expand...
Click to collapse
use PocketPC Installation Creator to create cabs.
hh93220 said:
Jiggs,
I am using an atom life, I fould that I could not browse the extended rom with Total Commander. In my memory, I should be able to use TC to browse the extended rom on my ATOM EXEC. Do you know what I am doing wrong?
Click to expand...
Click to collapse
You must simply type \_QHiddenPartition in Total Commander to switch to Extended ROM.
Btw: It's described in the Atom Wiki. You should read it.
By the way, is it possible to unhide the extended rom?
Click to expand...
Click to collapse
Yes:
hit me
scorpio16v said:
Open the file with an HEX-editor, cut the first 12 bytes and save the file. That's all.
You can use "XVI32". This Hex-editor is included in the original Scooter-ROMkitchen.
Click to expand...
Click to collapse
Thanks!! The problem resolve after I remove the first 12 bytes.
For AtomLife ExtRom.img.
Anyone was successful to flash editted ExtRom.img of AtomLife with DSUU? If possible, could you please show me few experience to Update ExtRom via DSUU.
Ex: Remove 12bytes header/edit(add or remove anything can do)/restore 12bytes header. Then replace new ExtRom.img in \Window\temp\ExtRom.img and delete \Window\temp\FLASH.DIO while completed extract of DSUU running. Then imitate DSUU instruction. Is it right? This way, I cuccessed to new Flash.dio for AtomLife.

@orefkov,how to del the extrom and try to enlarge the os.nb

@orefkov,how to del the extrom and try to enlarge the os.nb?
show me your step?
thanks.
Unpack nbh-file with nbhextract, and create nbh file back with htc rom tool, including only os.nb. But this dont add extrom space to user storage.
I was found the way to enlarge user storage (see http://4pda.ru/forum/index.php?showtopic=37376&view=findpost&p=1476673), but its experemintal only.
i can't understand rus word.
orefkov said:
Unpack nbh-file with nbhextract, and create nbh file back with htc rom tool, including only os.nb. But this dont add extrom space to user storage.
I was found the way to enlarge user storage (see http://4pda.ru/forum/index.php?showtopic=37376&view=findpost&p=1476673), but its experemintal only.
Click to expand...
Click to collapse
show this I was found the way to enlarge user storage (see http://4pda.ru/forum/index.php?showtopic=37376&view=findpost&p=1476673), but its experemintal only,
step, thanks to ov.
nirvana1981 said:
i can't understand rus word.
Click to expand...
Click to collapse
See picture in those links, and see your device at Settings\Memory.
Is you understand Arabic digits ?
i means how to enlarge the os.nb, i can't understand your step by do it.
only flash the os.nb can't make it ,stll format the storage,in first boot.
but after format, no large ?
if i flash the os.nb by nbh, after first boot, format the extrom, choose yes, then i used the unlockextrom made by you, still has the extrom in sys root.
Yes, no large.
To enlarge user storage, you need use tadzio imgfs tools for create os.nb, fixup some errors in generated os.nb by hand and winhex, and flashing from SD-card.
I will prepeare more detail instruction and soft for this task.
nirvana1981 said:
if i flash the os.nb by nbh, after first boot, format the extrom, choose yes, then i used the unlockextrom made by you, still has the extrom in sys root.
Click to expand...
Click to collapse
Use unlockextrom, and you will have extrom at sys root. And can modify it.
i have extrom at sys root,but i want to del the extrom .let os used the extrom .
thank you ,and what can i do?
nirvana1981 said:
but i want to del the extrom.
Click to expand...
Click to collapse
now it impossible.
? it's not your picture means?
At this picture - result of removing free space from os.nb + extrom size 2MB and all other space is user storage.
well, i know the means, show us your tools ,that's great , can make the new size dump, and replace the .vm , make the new size os.nb

Ultra Clean Prophet ROM (WM6.1) (Updated!)

This ROM has had everything I can remove without causing instabilities removed.
There is no ExtROM with this, but one can be added very easily.
With the addition of an extROM, UC can be used (SDAutoRun is in the windows directory)
This is intended for ROM cooks, and so I won't attach any upgrade utilities. It is an OS.nb rather than an nk.nbf for the purposes of saving space.
Some packages can be found here: http://forum.xda-developers.com/showthread.php?t=371497
This uses SDautorun V2 so is suitable for multi-language use.
I will upload a version suitable for flashing in the near future.
Based on multiple ROMs including official Kaiser, Touch and WM5 Prophet ROMs. This is a WM6.1 ROM.
Contains Mail, Contacts, Calendar, internet explorer and phone functionality.
Internet Explorer and help files have been removed in the new version!
http://rapidshare.com/files/102087207/newos.zip.html
v2
http://cid-cddbf77985693632.skydrive.live.com/embedrowdetail.aspx/XDA%20files/ROMs/Clean
Reserved for updates.
thx my friend
i think i will use it to start cooking a room =)
Thanks a lot
exactly what i am looking for ,
I will download it as soon as possible
thanks,thanks,thanks,.........
I have been waiting for this !
Can you inform us about free storage space after fresh flash? And how is the speed?
Thanks
Hi, how to flash is rom image OS.nb using which flashing tools? cos the new method is flashing the rom image nk.nbh.
can i use the new method of flashing?
Thanks in advance
Cheers
Thank a lot
there is about 55mb storage and 30mb program memory, but I've just realised I left the help files in! there is also the extROM with nothing in it, so in total 65mb free. I shall change the registry so it is unhidden/unlocked when I upload the update. I will also remove some other programs.
The new WM6 upgrade guide shows how to convert the *.nb into a *.nbh for flashing.
I shall upload an update when I can.
is downloading it, thanks, mate.
l3v5y said:
This ROM has had everything I can remove without causing instabilities removed.
There is no ExtROM with this, but one can be added very easily.
With the addition of an extROM, UC can be used (SDAutoRun is in the windows directory)
This is intended for ROM cooks, and so I won't attach any upgrade utilities. It is an OS.nb rather than an nk.nbf for the purposes of saving space.
Some packages can be found here: http://forum.xda-developers.com/showthread.php?t=371497
This uses SDautorun V2 so is suitable for multi-language use.
I will upload a version suitable for flashing in the near future.
Based on multiple ROMs including official Kaiser, Touch and WM5 Prophet ROMs. This is a WM6.1 ROM.
Contains Mail, Contacts, Calendar, internet explorer and phone functionality.
Link http://rapidshare.com/files/102087207/newos.zip.html
Click to expand...
Click to collapse
Hi, I have downloaded the file, it is a newos.nb. i wonder how i can flash my ROM as it is a .nb file rather than a . nbf? ?
mantis123 said:
Hi, I have downloaded the file, it is a newos.nb. i wonder how i can flash my ROM as it is a .nb file rather than a . nbf? ?
Click to expand...
Click to collapse
See post #8.
Help me please. Who have internet sharing in cab file?
l3v5y said:
there is about 55mb storage and 30mb program memory, but I've just realised I left the help files in! there is also the extROM with nothing in it, so in total 65mb free. I shall change the registry so it is unhidden/unlocked when I upload the update. I will also remove some other programs.
The new WM6 upgrade guide shows how to convert the *.nb into a *.nbh for flashing.
I shall upload an update when I can.
Click to expand...
Click to collapse
May we know when the updated one comes??
I'll finish it when I am at home and have some free time. I have a few deadlines coming up so might not be till the weekend.
I'm uploading a new version to my skydrive account... It consists of two seperate parts, OS.nb and ExtROM.nb. These will need to be combined for flashing (see the "new wm6 upgrade guide")
When uploaded it will be available here: [FONT=&quot]http://cid-cddbf77985693632.skydrive.live.com/browse.aspx/XDA%20files/ROMs/Clean[/FONT]
If someone wants to mirror it please do, I don't have the time to now.
thanks very good
hi l3v5y,
on this v2 the problem of ring is ok, because on the first one i can't change the ring tone
I removed most of the default ringtones for space. If you put one into the \My Documents\Ringtones directory I think it should work.
I normally have my prophet set to vibrate so I wouldn't have noticed this :S.
i will try and tell you for the V2
Tkanks very much!

Categories

Resources