ROM cooking question... - Tilt, TyTN II, MDA Vario III Windows Mobile ROM De

When NBHextract extracts different parts of the ROM it creates a file called 03_OS.nb IS that just the OS with no additional software?
Want I am trying to do is make a stripped version of this ROM RUU_Kaiser_HTCASIA_WWE_3.29.707.0_radio_sign_25.83.40.02_1.65.16.25_Ship
Thanks.

Related

[POLL][REF]*SYS Porting Guide*[ONLINE]

SYS PORTING GUIDE
Special thanks goes to Monsterfly for helpful guidance on porting SYS to a new build
Inventory:
Tools you will need for porting the SYS
BuildOS+Package Tool by Ervius
G’Reloc Tool by Misar
Procedure:
Use BuildOS+Package tool to dump ORIGINAL ROM and build packages
Copy G'Reloc to the folder where you have original SYS folder
Run it and write down numbers under slot 0, slot 1 and size of rom
Use BuildOS+Package tool again to dump DONOR ROM and build packages
Replace your original SYS folder with Donor's SYS
Run G'Reloc again
Notice that this time numbers under slot 0, slot 1 and size of rom may be different
Just replace them with numbers you got in the firt step
Click »Doit!« and wait till it shows "Done" in the status bar
Use the OEM folder in which you have added ingredients and the XIP fodler that you ported
Info: In some cases you will need to copy WinCENLS_WWE folder to SYS folder (if not present in Donor's SYS) from your original ElfIn SYS otherwise your device will not boot
Build OS in the kitchen of your choice and flash the new build ROM to your device and HAPPY COOKING
Timebomb solution and the boxed closed / ok button solution found here by HTCTouchp
[POLL][REF]*XIP & SYS Porting Guide*[ONLINE]
XIP Porting Guide (Based on Bepe's Buildxip.exe tool)
More detailed Porting guide on manual XIP Porting can be found here
I have added pictorials in .pdf format at the end of this post. Too many pictures so the .pdf file
Special thanks goes to Ervius for a lot of helpful guidance on porting XIP to a new build
Inventory:
Tools you will need for porting the XIP
BuildOS+Package Tool by Ervius
XIPPort Tool by Bepe
M’Reloc Tool by Misar
Procedure:
To make life more simple, I am attaching the XIP.bin extracted from Kaiser 19209 build ROM by Ervius. Dump the XIP.bin file with XIPPort tool and choose to make packages. Download from here (Rapidshare Folder)
In the OUT folder, ignore or delete all the text files (.txt) These files are created by XIPPort tool only to know the physical addresses and are not required for porting
In files and modules folders, delete all folders except “MSXIPKernel” and “MSXIPKernelTLK” The modules and files from these folders are the only items which are to be ported to make a new build. DO NOT copy or replace any files and modules from OEMXIPKernel, as these are device specific
Now open the BuildOS+Package tool and on packaging page click open with option to choose dump folder. Select your original ElfIn XIP folder (OS 19199) and on right you will see the XIP in its directory structure. Don’t click on build packages (you can’t do it anyways, as package.sof file is not present in the XIP folder) Instead click on “OEMXIPKernel” and then right click to select export package. Choose to save on different location, like your desktop. This is only temporary requirement, just to be on safe side that you still don’t replace any files or modules seen in that folder
Now you copy and replace the files and modules seen in the “MSXIPKernel” and “MSXIPKernelTLK” from the new XIP in your original XIP folder, you need to copy and replace only those items found in your original folders, do not add anything new. Now compare each and every .rgu file from your new XIP with your original XIP and check if they are similar (NOT the .rgu files in “OEMXIPKernel”)
After all the files and modules are replaced and .rgu files checked, run the M’Reloc tool and check the modules addresses from your original XIP with your new XIP (Don’t do anything to the modules located in “OEMXIPKernel”) The addresses have to be similar to your original modules from your original “MSXIPKernel” and “MSXIPKernelTLK” folders
Changing of addresses through M’Reloc is not required if you are using the BuildOS+Package tool for cooking ROMs as Ervius has already included the address relocation system into his tool with BuildXIP
In a nutshell you need to follow the following copying & replacement structure and everything will work:
Original XIP (19199): OEMXIPKernel
Donor XIP (19209): MSXIPKernel and MSXIPKernelTLK
Replace this new XIP folder in ROM in Bepe's WM6.1 Elfin kitchen and cook to get 19209 Build XIP, HAPPY COOKING
I have managed to put together a clean Base WM6.1 ROM for Elfin (Touch XL - 128/256) with almost everything removed except the most essential system packages
Please take note, this is a base rom for cooking and not to be directly flashed on the device as it may be unusable. You need to populate the ROM with your choice of packages and the essentials to bring it up to the 50MB limit for making it usable
Link to download the dumped Removed packages: Here
Special thanks to
Bepe for his wonderful kitchen
Noonski for his valuable comments and suggestion all the way
Kokotas for his help in getting rid of the cube
Download Bepe's WM6.1 Kitchen for ElfIn and replace the OEM and SYS folders with yours and cook the OS.nb file
The archived OEM package (dumped and packaged) can be downloaded here
DOWNLOAD HERE (V1)
UPDATE
DOWNLOAD HERE (V2) (Further stripped down OEMApps & OEM_Lang_0409)
20296 MSXIPKERNEL. Mix this with OEMXIPKERNEL and you are ready to cook. Do M'relocing if necessary
Download here: View attachment 108115
SYS archieve
A. The archived SYS package 19199 buid. DOWNLOAD HERE
Stripped to down basic required
B. SYS ported from 19209 Build. DOWNLOAD HERE (Rapidshare Folder) This archieve is from my new ROM (XIP and SYS Ported to new build) Removed packages as per above ist
C. 19588 Build ROM Dump (OEM, SYS & XIP) DOWNLOAD HERE. Thanks to Koko for sharing this archieve (SYS, OEM & XIP)
Hi Abrabekar,
You really came in the right time! I'm about to remove all the unnecessary apps inside Elfin original ROM and now you came with WM6.1
You really save my time, many thanks to you!
Cheers,
Vibranze
Deleted! Double post.
well im just waiting for another version wm6.1 ROM for elfin~at least after swiftblade and couldyfa's~ any updated wm6.1 ROM for elfin is welcome! `cheers~
JohnQ said:
well im just waiting for another version wm6.1 ROM for elfin~at least after swiftblade and couldyfa's~ any updated wm6.1 ROM for elfin is welcome! `cheers~
Click to expand...
Click to collapse
@JohnQ.. this is not an upgrade to swiftblade's or cloudyfa's wonderful roms but just a clean base rom for everyone to cook have more personalised options
Hi Ababrekar,
Yeah, but how I supposed to populate the SYS and OEM folder? Or to be precised, how should I continue from your OS.nb file?
Cheers,
Vibranze
ababrekar said:
@JohnQ.. this is not an upgrade to swiftblade's or cloudyfa's wonderful roms but just a clean base rom for everyone to cook have more personalised options
Click to expand...
Click to collapse
vibranze said:
Hi Ababrekar,
Yeah, but how I supposed to populate the SYS and OEM folder? Or to be precised, how should I continue from your OS.nb file?
Cheers,
Vibranze
Click to expand...
Click to collapse
you need to populate the rom by adding your choice of packages. the essentials out the removed list would be phone dialer, commanager, bluetooth, netcf, audio manager. also you need to add files so the final cooked os.nb file is above 50mb limit
Don't Mind Vibranze he allready is running his own Rom...
Noonski said:
Don't Mind Vibranze he allready is running his own Rom...
Click to expand...
Click to collapse
i was answering his questions coz no question should go unanswered in my thread
I think it would be a good idea to post which kitchen you advice to cook the nb in.
I was wondering if there is a WM 6.1 Rom with nothing extra added. Just like an original HTC ROM? Like with no accessories folder, or HTC Action screen etc. I really don't like any of that stuff. I really only wanted WM 6.1 for the threaded sms.
Thanks in advance
canadian student said:
I was wondering if there is a WM 6.1 Rom with nothing extra added. Just like an original HTC ROM? Like with no accessories folder, or HTC Action screen etc. I really don't like any of that stuff. I really only wanted WM 6.1 for the threaded sms.
Thanks in advance
Click to expand...
Click to collapse
as i said, this is a bare naked base rom with all the packages removed for maximum user customisation. the packages removed are listed in my first post here
Noonski said:
I think it would be a good idea to post which kitchen you advice to cook the nb in.
Click to expand...
Click to collapse
good suggestion, like always brother i have updated the first post at the last line guiding to bepe's kitchen for cooking the nb file
(although i need bepe's or your guidance on how to get the exact same contents of his ROM folder from my ROM which can help everyone in achieving more customisation)
Well i've been working a month on SuperCore now but it now contains Packages for almost everything you have removed.
Looked up most of the registry settings for removed items to.
Generated new .dsm files and made option.xml for each.
And i still need to make registry keys to make removed controlpanel items work from SD.
So now i can wait another month before uploading new SuperProCore.
Now if somone could tell me how to make a os.nb.payload for ELF only with 4MB pp poeple would really be happy.
Noonski said:
Well i've been working a month on SuperCore now but it now contains Packages for almost everything you have removed.
Looked up most of the registry settings for removed items to.
Generated new .dsm files and made option.xml for each.
And i still need to make registry keys to make removed controlpanel items work from SD.
So now i can wait another month before uploading new SuperProCore.
Now if somone could tell me how to make a os.nb.payload for ELF only with 4MB pp poeple would really be happy.
Click to expand...
Click to collapse
even i'm looking for a way to get the exact contents of ROM folder what Bepe has in his kitchen for ElfIn. It contains XIP with a lot of other files. I wonder if having the os.nb.payload from my own rom would help rather than using bepe's file still waiting for a guidance
i am attaching the default.hv & user.hv files with the reg entries deleted as per the removed packages list. see if you can check and comment on it, it will be great
eagerly waiting for SuProCore
Most of the keys are double ussually.
So you'll find the same keys also in SYS and OEm .rgu files as in hives files.
Noonski said:
Most of the keys are double ussually.
So you'll find the same keys also in SYS and OEm .rgu files as in hives files.
Click to expand...
Click to collapse
oh ok. so to completely remove the removed package list from the rom, i will have to also edit the .rgu files found in oem & sys?
ababrekar said:
oh ok. so to completely remove the removed package list from the rom, i will have to also edit the .rgu files found in oem & sys?
Click to expand...
Click to collapse
Naah you really don't need to.
Those left behind registry settings ussually don't do any harm without the files present.

Extract then cook question...why is the cooked ROM smaller?

I extracted the RUU_Signed.nbh from the HTC v3.28.405.0 ROM. Using NBHExtract, I extracted this into .nb files.
Using htcrt.exe, I rebuilt RUU_Signed.nbh with just the splash and OS - this .nbh was 97,179,816 bytes in size.
I then opened the kaiser kitchen, extracted the ROM (e,a). Once the extraction was complete, I cooked the ROM (c,b).
Once I'd cooked the ROM and built the RUU_Signed.nbh using the original splash and newly cooked OS, I noticed that the .nbh was 77,005,405 bytes in size.
Can someone let me know why the ROMs are different sizes? I've not removed any packages or anything (just a simple extract, then cook).

XIP basics for Kaiser

What is XIP and how i can update it in my custom ROM, my ROM its based on the official ROM for Kaiser but... its a Spanish one , (so i dont know if i can use XIP from ROMs in English).
Regards!
you can use English XIP's, but first, what kitchen are you using?
thanks for the reply, always you are there in any rom post =), i am using kaiserkitchen_01-20-08 software, this its the readme i dont know where on the whole site i get it, but work like a charm...
Code:
Kaiser ROM Kitchen - version 0.3 - now with rebuilding dumped ROM support
by jcespi2005 and jugglerlkr from xda-developers.com
Welcome to ROM Kitchen for HTC Kaiser and compatible devices (to name a few - HTC Tytn II, P4550, Kaiser, AT&T Tilt (8925), MDA Vario III, Orange Tytn II, SFR V1655 etc.)
We take no responsability in any damage on your device. If you're not sure what you're doing, take time to learn some basics from xda-developers wiki. To install kitchen you will need password - you will find it later in this guide. Please install kitchen to root folder - C:\, D:\ or whatever you like. It is rquired because of filesystem limitaion on long filepaths and filenames.
Do not forget to backup your original ROM and all important files, infomation, settings etc with your favorite backup software!
Kaiser ROM Kitchen has been created using tools and knowledge of many people (in alphabetical order):
bepe
dark simpson
itsme
jcespi2005
jugglerlkr
mamaich
pof
tadzio
theblasphemer
and many others we forgot to mention...
XP SP2 or Vista with MS .NET Framework required to use it.
To use ROMs you cook with this kitchen first you have to CID unlock your device using HardSPL (kaiser-HardSPLv1 included in package). You can read more about this tool and download latest verion here:
http://forum.xda-developers.com/showthread.php?t=334679
Also you need some base ROM for kitchen to work. After installing Kaier ROM Kitchen put file RUU_signed.nbh to BaseRom folder! You can get some ROMs and info how to flash them here:
http://forum.xda-developers.com/showthread.php?t=332246
To extract RUU_signed.nbh from WWE "shipped" ROM for example, just unpack .exe file with winrar, you'll find some files including the RUU_signed.nbh. Put it to BaseROM folder. Do not delete it from there, it required for the whole process and future modifications of ROM.
Now you have to decide what do you want to do, just cook BaseROM the way you want it, or rebuild dumped ROM.
If you want to rebuild dumped ROM you have to put Part01.raw and Part02.raw into BaseROM folder. For more information how to dump ROM go here:
http://forum.xda-developers.com/showthread.php?t=334680
Tools required to dump ROM (just in case) http://www.xs4all.nl/~itsme/projects/xda/tools.html
When you have prepared your device, installed kitchen and placed necessary files to BaseROM folder you can start using it.
Just click on !Begin.cmd and follow onscreen prompts. This script will prepare all files for future cooking.
When !BEGIN script exits successfully you may want to add/delete some packages, do registry changes, apply fixes etc. This what kitchen is for, cooking ROMs ;-) OEM and SYS folders are result of previuos 1-7 scripts. When you finish cooking continue to make your newly cooked ROM flashed to your device for testing and distribution.
Now OEM and SYS folders are modifed to your needs, ROM is ready to be cooked and flashed.
To cook ROM Clock on !Cook.cmd script and follow it to HTC ROM Tool part. If HTC ROM Tool part just follow onscreen instructions on how to use HTC ROM Tool. You can read more about it and find latest version here:
http://forum.xda-developers.com/showthread.php?t=311909
If everything worked as it should - you have result of your work: RUU_signed.nbh. It can be flashed to device using Kaiser Custom RUU (included in package), latest version can be found here:
http://forum.xda-developers.com/showthread.php?t=334890
Click on !FLASH.cmd to flash new ROM to your device. Follow onscreen instructions.
Warning: resulted RUU_signed.nbh will contain only OS - no radio, spl and splash - this is done by design!
When you need to update your ROM with latest modifications you made in OEM, SYS and ROM folders just click on !COOK.cmd script to insert all changes you made in OEM & SYS folders into resulted RUU_signed.nbh.
Remeber: if you start from !BEGIN.cmd you will ruin all your work!!!
P a s s w o r d to install Kaiser ROM Kitchen is "resiak" (without quotes).
version history:
version 0.3 - some more automation, now you don't have to click on every script; added rebuilding rom option
version 0.2 - minor cosmetic issues and fixes, better handling of RUU_signed.nbh and XIP dumping
version 0.1 - initial public release
also, like i say in the frist post i use a HTC TYTN II Spanish Official ROM, extracted and recooked with that kitchen and OEM packages and files from everywhere....
So i can use superior XIP from other similar device ROM?, do i need replace the SIS folder also? regards!
wolframio74 said:
thanks for the reply, always you are there in any rom post =), i am using kaiserkitchen_01-20-08 software, this its the readme i dont know where on the whole site i get it, but work like a charm...
Code:
Kaiser ROM Kitchen - version 0.3 - now with rebuilding dumped ROM support
by jcespi2005 and jugglerlkr from xda-developers.com
Welcome to ROM Kitchen for HTC Kaiser and compatible devices (to name a few - HTC Tytn II, P4550, Kaiser, AT&T Tilt (8925), MDA Vario III, Orange Tytn II, SFR V1655 etc.)
We take no responsability in any damage on your device. If you're not sure what you're doing, take time to learn some basics from xda-developers wiki. To install kitchen you will need password - you will find it later in this guide. Please install kitchen to root folder - C:\, D:\ or whatever you like. It is rquired because of filesystem limitaion on long filepaths and filenames.
Do not forget to backup your original ROM and all important files, infomation, settings etc with your favorite backup software!
Kaiser ROM Kitchen has been created using tools and knowledge of many people (in alphabetical order):
bepe
dark simpson
itsme
jcespi2005
jugglerlkr
mamaich
pof
tadzio
theblasphemer
and many others we forgot to mention...
XP SP2 or Vista with MS .NET Framework required to use it.
To use ROMs you cook with this kitchen first you have to CID unlock your device using HardSPL (kaiser-HardSPLv1 included in package). You can read more about this tool and download latest verion here:
http://forum.xda-developers.com/showthread.php?t=334679
Also you need some base ROM for kitchen to work. After installing Kaier ROM Kitchen put file RUU_signed.nbh to BaseRom folder! You can get some ROMs and info how to flash them here:
http://forum.xda-developers.com/showthread.php?t=332246
To extract RUU_signed.nbh from WWE "shipped" ROM for example, just unpack .exe file with winrar, you'll find some files including the RUU_signed.nbh. Put it to BaseROM folder. Do not delete it from there, it required for the whole process and future modifications of ROM.
Now you have to decide what do you want to do, just cook BaseROM the way you want it, or rebuild dumped ROM.
If you want to rebuild dumped ROM you have to put Part01.raw and Part02.raw into BaseROM folder. For more information how to dump ROM go here:
http://forum.xda-developers.com/showthread.php?t=334680
Tools required to dump ROM (just in case) http://www.xs4all.nl/~itsme/projects/xda/tools.html
When you have prepared your device, installed kitchen and placed necessary files to BaseROM folder you can start using it.
Just click on !Begin.cmd and follow onscreen prompts. This script will prepare all files for future cooking.
When !BEGIN script exits successfully you may want to add/delete some packages, do registry changes, apply fixes etc. This what kitchen is for, cooking ROMs ;-) OEM and SYS folders are result of previuos 1-7 scripts. When you finish cooking continue to make your newly cooked ROM flashed to your device for testing and distribution.
Now OEM and SYS folders are modifed to your needs, ROM is ready to be cooked and flashed.
To cook ROM Clock on !Cook.cmd script and follow it to HTC ROM Tool part. If HTC ROM Tool part just follow onscreen instructions on how to use HTC ROM Tool. You can read more about it and find latest version here:
http://forum.xda-developers.com/showthread.php?t=311909
If everything worked as it should - you have result of your work: RUU_signed.nbh. It can be flashed to device using Kaiser Custom RUU (included in package), latest version can be found here:
http://forum.xda-developers.com/showthread.php?t=334890
Click on !FLASH.cmd to flash new ROM to your device. Follow onscreen instructions.
Warning: resulted RUU_signed.nbh will contain only OS - no radio, spl and splash - this is done by design!
When you need to update your ROM with latest modifications you made in OEM, SYS and ROM folders just click on !COOK.cmd script to insert all changes you made in OEM & SYS folders into resulted RUU_signed.nbh.
Remeber: if you start from !BEGIN.cmd you will ruin all your work!!!
P a s s w o r d to install Kaiser ROM Kitchen is "resiak" (without quotes).
version history:
version 0.3 - some more automation, now you don't have to click on every script; added rebuilding rom option
version 0.2 - minor cosmetic issues and fixes, better handling of RUU_signed.nbh and XIP dumping
version 0.1 - initial public release
also, like i say in the frist post i use a HTC TYTN II Spanish Official ROM, extracted and recooked with that kitchen and OEM packages and files from everywhere....
So i can use superior XIP from other similar device ROM?, do i need replace the SIS folder also? regards!
Click to expand...
Click to collapse
Hi, you will need to use a xip similar or close build number than what your currently using.. some xip's will work with the sys your using and some will not.. u'll need to test individually and find compatible ones that boot.. i suggest using something called easyportoven i think it works for kaiser.. or if u're looking to learn porting xip u'll want to head over to dev and hacking forums and look at the xip porting tutorial.. i'm gonna be putting one together soon but it's for the new type kitchen from bepe, i don't think it would work with yours.. anyway.. peace and good luck.

ROM Flashing with DMTool

Is anyone here familiar with flashing WM roms using DMTool? I have a device (I can't say which, sorry), that uses this utility for flashing ROMS with a .hex extension (3 files, for radio, OS and ExtRom), and I'm wanting to see if I can update the OS build (comes with WM 6.5 build 21840, which is OLD!).
It's not exactly an uncomplicated process to flash this thing, but I'm fully familiar with it; I just have I've no idea how building the OS .hex file differs from the more common .bin or .nbh files use with EUU/RUU flashing utilities.
Google isn't being very helpful either...

Cleaning up Operator PKG after stock ROM dump?

I am using OsKitchen to build a ROM for a Kaiser. I have dumped the final WM 6.1 ROM and overwritten the nk.exe with the Native 6.5 one as well as overwritten the OEMDrivers with the 3.57 ones also available. I have rebuilt the ROM using a few different versions of WM 6.5 and its all working. However I want to clean up the Operator PKG folder and split it into more friendly EXT Packages like you get when dumping the Topaz 6.5 ROM. The dump of the 3.57Kaiser ROM seems less sophisticated.
I also want to get Manila installed like lots of the cooked ROMs available on here. Does anyone have a pre-built EXT Packages folder I can use?
Thanks
Andy
OK - solved this myself. Downloaded the latest HTC Mega ROM and spent a couple of hours 'trial-and-error' building a ROM. Replaced the OEM_Lang_0409 & OEMApps folders with the MEGA ones and deleted drivers/files/Registry entries in the Kaiser OEMDrivers folder that had overlapping ones in the MEGA's EXT Packages folder.
I have to say this took way less time than I was expecting and the resulting ROM is excellent and quick )
Andy

Categories

Resources