Error during creating WM6 ROM by Bepe's Build OS Tools - JAMin, XDA Neo, S200 Software Upgrading

Hi,
I got "Last status, creating Initflashfiles.dat..." "External component has an exception" while performing Bepe's Build OS tools.
I use WM6 SDK MUI emulator and generated the locale files, then copy to the original chinese rom dump, and finally use Bepe's build OS tools and got the above error.
Can anyone help? Tks

Related

How to "activate" extended ROM?

Hi guys,
I flashed my Wizard with the base OS ROM version 5.2.318 (build 15342.0.0.0, customization) published in this forum about a month or so...
After flashed, it just start the OS without running the Extended_ROM content, so I installed all cab files inside Extended_ROM folder by myself.
What I should modify in order this run automatically on next hard-reset?
You have a G4 Wizard looking at your signature, thus the files Autorun.exe and Config.txt (a list of all the cabs in the right format- these files can be found in the Faria Ext-rom tutorial package) need to be in the \Windows folder but they can still point to run Cabs from the Extended ROM. Check the registry before cooking to see it points to the autorun file then you're good to flash.
Thanks for the response... I did it and is working now!. Useful tip.

CAB Insall to Windows or Program Files

Hi,
I am cooking an new ROM based on the NoThrills ROM (19202 ENG).
I have 2 questions:
1. Doe sit make sense to install the new programs under "\program files" or should they stored undes "\windows" ?
2. I have flashed my new ROm to my kaiser, but unfortunately I get for some new apps the info that the apps is from unknown publisher. I have not found a regsistry key to disable this info.
Regards kuzco

What could have went wrong? 'getting error building boot.hv'

I have just downloaded hypercore kitchen and tried to dump from one of the WM6.1 ROMs
Process followed..as attached
Except 3 missing manifests, no other missing files at Pkg Tool stage. Have not made any change to SYS or OEM or any other folder post and just followed to next stage tob build OS.
Then getting the error 'error building boot.hv' when clicked the 'small triangle of build os phase'
What went wrong? Any help from expert chefs?
Check errors in xip\boot.rgu
Thanks for the quick response.
How to check errors in there? It was just created when I dumped the ROM using earlier options of the kitchen? I have not changed anything after dump of XIP and trying to build OS as is.
What possible errors it can contain?
In last Tomal rom (8.2) last line in boot.rgu was a truncated header: no closing parenthesis.
Thank you
You are right. The last line in there is in complete. Corrected it and now able to build OS.

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.

Porting XIP from Kaiser 6.1 Rom

I am learning how to cook a Kaiser 6.5 Rom using osKitchen and just wanted confirmation that I am doing this right.
Any help / advice / redirection will be appreciated.
Thanks for reading.
---------------------------
Using htcRIE_0.5.0.12, I have dumped the XIP from WM 6.1 Rom (RUU_Kaiser_O2_UK_3.29.206.0) and get the following output:
XIP
-OEM
--LangDB
--OEMXIPKernel
-SYS
--MSXIPKernel
--MSXIPKernelLTK
--WinCENLS_WWE
1) LangDB is an empty folder with only a dsm file inside. Hence I have excluded this folder from my kitchen.
2) In OEMXIPKernel I have replaced cecompr.dll with the contained in Post 9 of this thread (http://forum.xda-developers.com/showthread.php?t=438676) that supports LZX compression. I have also deleted nk.exe folder to use the one contained in osKitchen (modified to work with 6.5 kernel). Should all other files / folders in OEMXIPKernel including boot.hv and boot.rgu be left untouched or is there scope for modification / tweaking?
3) MSXIPKernel - Deleted this folder and simply replaced with the one contained in 6.5 SYS package (build 28205). I have deleted mem card encription mencfilt.dll since I read that it is safe to do so.
(a) do I need to edit the dsm file to remove reference to mencfilt.dll or does Bepe's package rebuilder automatically create new dsm files?
(b) since the file size of modules in donor and source MSXIPKernel are different, do I need to manually reallocate the addresses of each module or is that automatically done during the cooking process?
4) MSXIPKernelLTK - Same again. Deleted this folder and simply replaced with the one contained in 6.5 SYS package (build 28205). This folder only contains a dsm file so I guess no reallocation is required.
5) WinCENLS_WWE - With this one I am not sure. Initially I thought of deleting this as well since it is contained in 6.5 SYS package. But elsewhere it was suggesting that this is not allowed since the Rom may not boot. OndraSter suggested that I transfer the wince.nls file into OEMXIPKernel and delete the WinCENLS_WWE folder. If i did this then
(a) do I need to edit the dsm file in OEMXIPKernel folder to add reference to wince.nls?
(b) should I delete the WinCENLS_WWE folder from 6.5 SYS folder to avoid duplication (although file sizes are different)?
Anyone willing to spare some time to help please?
Not sure why you are using ROM Editor to do this; it would be so much easier just to use osKitchen or Ervius and dump that ROM, then all you'd have to do is copy/paste. I'm also learning, but I'll answer what I know.
1)I do the same. Almost all chefs delete almost all the .dsm/package.ini files in their kitchen folder before cooking with osKitchen or Ervius's VK. I don't know why it is possible to cook without them, but it's easier then maintaining them and saves a tiny bit of space. It is also why almost all cooked ROMs are not able to be dumped as per OEM ROMs--the file associations and shadows are gone (which is what the .dsm/package.ini files provide).
2)Let me preface by saying that ideally, you shouldn't be touching anything in the OEM/MS kernel. 1st q: If you are using osKitchen, why are you doing this? It can compress with XPR or LZK out-of-box . 2nd q: The nk.exe is modified to use more RAM, not to work with WM 6.5. Kaiser doesn't have a native WM 6.5 nk.exe, so chefs use an older 6.1 nk.exe from a released ROM and patch it to use more memory if they want.
3)I've never deleted that, but this is otherwise correct. (a) You could use DSM editor and remove that one file association yourself. (b) Automatic, as I've never reallocated anything in the kernel and my ROMs cook perfectly.
4)This is correct.
Last one I don't know. I've never done any of that and my ROMs cook/work fine. If I did what OndraSter recommended, I still wouldn't do either (a) or (b) because I don't think it matters to the kitchen script--he would have probably told you to do that as well.
Thanks for responding to the distress signal.
Quetzecotyl said:
Not sure why you are using ROM Editor to do this; it would be so much easier just to use osKitchen or Ervius and dump that ROM, then all you'd have to do is copy/paste. I'm also learning, but I'll answer what I know.
Click to expand...
Click to collapse
I use the ROM editor since I get an error whilst using osKitchen to extract RUU_signed. Infact there is also a warning that pops-up explaining that this utility in osKitchen is awaiting a rewrite and to expect failures.
Quetzecotyl said:
1)I do the same. Almost all chefs delete almost all the .dsm/package.ini files in their kitchen folder before cooking with osKitchen or Ervius's VK. I don't know why it is possible to cook without them, but it's easier then maintaining them and saves a tiny bit of space. It is also why almost all cooked ROMs are not able to be dumped as per OEM ROMs--the file associations and shadows are gone (which is what the .dsm/package.ini files provide).
Click to expand...
Click to collapse
Thanks. This is solved .
Quetzecotyl said:
2)Let me preface by saying that ideally, you shouldn't be touching anything in the OEM/MS kernel. 1st q: If you are using osKitchen, why are you doing this? It can compress with XPR or LZK out-of-box .
Click to expand...
Click to collapse
I was getting errors with osKitchen when using the original 6.1 cecompr.dll. It is only when I replaced it with the version in the referenced post that the errors disappeared.
Quetzecotyl said:
2nd q: The nk.exe is modified to use more RAM, not to work with WM 6.5. Kaiser doesn't have a native WM 6.5 nk.exe, so chefs use an older 6.1 nk.exe from a released ROM and patch it to use more memory if they want.
Click to expand...
Click to collapse
Thanks for the clarification .
Quetzecotyl said:
3)I've never deleted that, but this is otherwise correct. (a) You could use DSM editor and remove that one file association yourself. (b) Automatic, as I've never reallocated anything in the kernel and my ROMs cook perfectly.
Click to expand...
Click to collapse
Thanks. This is solved .
Quetzecotyl said:
4)This is correct.
Click to expand...
Click to collapse
Thanks. This is solved .
Quetzecotyl said:
Last one I don't know. I've never done any of that and my ROMs cook/work fine. If I did what OndraSter recommended, I still wouldn't do either (a) or (b) because I don't think it matters to the kitchen script--he would have probably told you to do that as well.
Click to expand...
Click to collapse
When I dump the 6.1 ROM, wince is part of the XIP. The recent 6.5 releases (28008 and 28205) contain wince as a SYS package in folder WinCENLS_WWE. This is what confuses me - is wince device specific or is it build specific .
If I place the wince from 6.1 ROM in OEMXIPKernel and also select the one in 28205 SYS as an ingredient, then either I am duplicating (and possibly creating a conflict since the file sizes are different) or the kitchen script is smart enough to ignore one of these?
This has also been discussed at http://www.everythingdiamond.info/showthread.php?t=444&page=46 but without any strong conclusion.
Has anyone else experimented with wince?
OK, about WinCE--I wanted to make sure, but skimming through my build logs for a time, I don't think I've ever had that in my SYS. WinCE must be device specific because it is part of the OEMXipKernel, and I've used the same one (ie, OEMXipKernel) maybe 30+ times and can not recall ever seeing a wince.nls in my SYS updates. I've only cooked the 21xxx and 23xxx WM6.5 COM branches, but I can't help but think that the WinCE in your SYS update comes from the device the SYS dumpers used. If I were you, my first go around I would exclude it and use the one from your OEMXip. If for some reason your ROM doesn't boot (it could be so many other things), try replacing your wince.nls with the one from your SYS update (highly doubt this).
BTW, I recommend using Ervius for dumping, as it has never given me any issues.
I think what you say seems logical. I will give it a try and feedback how it went. Thanks once again.
If you dump it via my kitchen and put name Kaiser, it should autogenerate all Sources folder with OEM, original SYS and put NK and XIP on right places actually. (I tried it on newer version of Kaiser's ROM when I was making this dumper so it should work fine.)
And if you restart kitchen, it will load all things automatically (or I hope so, I haven't tried the new UI yet, I'm still at the old one since I actually prefer it...)
I get an error when dumping using your kitchen. I have posted the exception text in your thread.
ps: This is sorted. My RUU_Signed.nbh was not in root of osKitchen dir but a different dir where I place my ROMs.

Categories

Resources