yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] depakjan:
Wow.. i have too started cooking.. and i am stuck the same way as mango1122... my rom is of 98mb... it gets stuck at smart mobility.. what might be wrong... so cant i use a cooked ROM as my base.. so how do i cook 6.5 rom then... i have 20924 XIP and SYS but here i dont have xip.bin from where do i get this xip? ... also OEM folder can be left empty?

i am using Hybrid kitchen.. coz adding packages are easy wheres in Hypercore i dont see where evirus package tool being used... any1 know how to do this?

But in Hybrid kitchen there is different problem.. when i build i dont get that htcret option where you can select the radio, IPL and SPl stuffs... without asking this it directly builds the nbh file.. does that mean by default it's not including any spl's and radio??

Basically there is no good tutorial on cooking.. all tutorials explain the how you go on using the kitchen... but no one has explained abt COOKING.. what i mean is For cooking you need these folders... this folder will contain this .. likewise i need the process of cooking the background of it.. can any1 link me to such tutorial if there is any??

as far as i know for cooking you need

OEM - i am still not sure what this folder contain , when i dumped my stock rom i get OEMAPPS,OEMDRIVERS and many such folders.. my question is are these folders compulsory??? and what will this folder contain usually??

ROM - this has XIP folder, XIP.bin and OS.payload so what files compulsory here.. i saw some tutorials abt porting a xip... where can i find a xip.bin of 6.5??? and what is the use of os.payload thing?? and what will this folder contain usually??

SYS - .ROM, .VM and many app packages... sometime it has "Dont Touch My Rom:)" Folder .. here can i move the contents of this folder outside and use for buliding??? and what will this folder contain usually??

Packages - Here you put all the custom a\packages and select it Evirus package creator...
[Touch GSM ROM Development] trueg:
If you have never used PlatformRebuilder before, the video tutorial here shows you how to dump and then rebuild a ROM.

Perhaps start with a HTC official ROM for your device. Once you are able to dump and rebuild that, swap in the 6.5 SYS from the SDK (or one that you have downloaded). Keep the .ROM & .VM that should already be there from your dump. In the OEM folder delete everything but OEMDrivers, which has all of the drivers needed for your device (and often a bunch of other crap you don't need).

I believe you said you have an XIP for WM 6.5 already? The XIP files you need for PlatformRebuilder are the XIP folder, os.nb.payload, romhdr.bin and xip.bin.
[Touch GSM ROM Development] depakjan:
Awesome bro.. thank you very much trueg ... i wil reall try this out once i leave home from my workplace.. hopefully i will sucessfully cook a 6.5 rom tonight... if i have doubts i will get back to you in this thread or will PM you.. tahnks again..
[Touch GSM ROM Development] depakjan:
i keep getting this error while extracting imgfs :(
[Touch GSM ROM Development] !Aman!:
nbsplit.exe is not to be used for Elf(in)s
[Touch GSM ROM Development] Noonski:
Funny graphicly i'm a doovus, but i used to support Adobe Applications so i now better how to cheat.

Oke it should be:

[HKEY_LOCAL_MACHINE\Software\OEM\MASD]

"QuickDial"=dword:0

But it could be that it is overwritten by another RGU file.

You could also try the mothod of removing the Entry from Default.hv

(never Edit .hv the settings don't stick with me)

It could also be that the registry setting is in an provxml file which will always override the RGU (which goes into .hv files in the end).

Or remove the setting from ProvXML , RGU and .HV files ;)
[Touch GSM ROM Development] Swiftblade:
Many thanks for your thoughtful and eveready helps...:D Yes I did put in correctly the registry tweak given above. Looking into every ProvXML and RGUs and .HV files will be like finding a needle in a haystack.. ****... haha;) Leave it alone for now... oh oh ..maybe can write in ProvXML to overwrite the others... workable?
[Touch GSM ROM Development] Xtriny:
Hi guys. Pls, where to find settings to change pagepool?
[Touch GSM ROM Development] Noonski:
That might be a good idea.

I will look for these settings but i'm done for tonight.

Triny, Indeed we need a good tutorial to do this on Touch.

I haven't done this and would like to make my ROM 6 mb.

I think Bram smulders knows some one that knows how to do this.
[Touch GSM ROM Development] Xtriny:
ok, tnx. I will make it with Smart pagepool changer, for now :-)
[Touch GSM ROM Development] Swiftblade:
Xtriny,, don,t use the smart pageppol changer from Shark. Try this one by vippie, it's much easier and the pagepool is change within a minute...:D

http://xdaforums.com/showthread.php?t=324594&highlight=change+pagepool
[Touch GSM ROM Development] Noonski:
Thant's the same one i package with my Rom's...

But how do you cange it from scratch before you flash it ;)
[Touch GSM ROM Development] bram_smulders:
Hi guys, can anyone take a look at this reg setting in their htc touch.

I want to know if it matches.

[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN]
""="\\Windows\\WLanMgr.exe"
"DeviceName"="{98C5250D-C29A-4985-AE5F-AFE5367E5006}\\TIACXWLN1"

Gr. bram
[Touch GSM ROM Development] Swiftblade:
Need a hex editor to eidt the pagepool address to do the trick. You know anyone who is good in hex editing to help? I got the pagepool address for Touch somewhere somewhere in my lappy.....(Looking... looking.... still looking)
[Touch GSM ROM Development] Xtriny:
Hi guys. I have a little problem with comm manager. I replaced the original with "Comm Manager 10B Touch by Tao", but WLAN doesnt work. Every other button works fine, but WLAN doesnt. If I tap on it, it working for a while, but WLAN stays off. If I turn on it in setting-connections-wlan, I cant turn it off anyway. Can you please hepl me, what can be wrong?

EDIT- it work yet. I have some bad settings in .rgu file
[Touch GSM ROM Development] Noonski:
I have \\TNETW12511

At the end.

What was it because i'm going to be using ten version to soon (eventhought i don't need it, let's say i'm thinking about it)
[Touch GSM ROM Development] Xtriny:
Hi Noon,

in original file, provided in CommManager OEM package is missing these settings:

[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN]

"DeviceName"="{98C5250D-C29A-4985-AE5F-AFE5367E5006}\\TNETW12511"

without it, WLAN cant work.

see the attachments - CommManager (blue) OEM Package with working .rgu file
[Touch GSM ROM Development] Xtriny:
This is right:

[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN]

"DeviceName"="{98C5250D-C29A-4985-AE5F-AFE5367E5006}\\TNETW12511"

tried it, and it is working
[Touch GSM ROM Development] bram_smulders:
Jup fgured it out myself. Just copied from the original rom.

I think this is is also the problem of Xtriny.

Just change the reg key in the RGU file

gr. bram
[Touch GSM ROM Development] Xtriny:
Another problem came....I have ShutXp in my ROM, but it doesnt work correctly.

I want to have today icon, but after every softreset it is gone...Any ideas? Or can someone please upload working ShutXp OEM Package? Thanks
[Touch GSM ROM Development] Noonski:
What do you mean with Today Icon?

If you have set to it right soft key, i ould suggest trying the left.

As it's a default bug that Windows does not keep information about modified Right key customization.
[Touch GSM ROM Development] Xtriny:
I mean, that if you tap on shutxp, it will show a few possibilities - Shut down, Reset, Switch off the display - and under it you can choose "Today Icon". This place icon to the tray. But after soft reset is tray icon gone.
[Touch GSM ROM Development] Xtriny:
So, I'm done...Finally, I'm running on my own ROM. I will test it for a few days, than I maybe upload it to xda....

Special thanks to:

Noonski for this thread, help and for great skin files

anichillus for the HyperCore Kitchen

pof for USPL

Swiftblade for help

Thanks guys
[Touch GSM ROM Development] Swiftblade:
Hi Xtriny... glad to know you got your own ROM runnin. Upload it to xda soon ya..

Noonski's initiatives of this cooking class is creating alot of awareness, interests and ROM makers. That's great and thanks to Noonski for upkeeping this interesting thread...:D
[Touch GSM ROM Development] tiggerbcn:
Hello, I hope someone can help me, I do not find information of this:

I now have a spanish rom cooked based in the build 1.17.707.1B, have seen that last roms are based on several builds: Dopod1.17.707.2B and Dopod 1.17.707.2G That is what I must change into my rom, to put one of these builds?

I want to do it is a rom in Spanish based on the last build Dopod 1.17.707.2G

Thanks
[Touch GSM ROM Development] trueg:
Are you using PlatformRebuilder or a custom kitchen?
[Touch GSM ROM Development] depakjan:
does that mean i cant use platform builder for elfin?... i just dragged my nb file onto packagebuilder.exe and it uses nbsplit.. what can i do then?
[Touch GSM ROM Development] !Aman!:
replace and use the attached batch file for dumping.
[Touch GSM ROM Development] svprm:
This kitchen will work for Elfin?
[Touch GSM ROM Development] trueg:
Did you view the video tutorial from bepe? There shouldn't be a problem using PlatformRebuilder for Elf (though I only started using it after I got my Raphael). You drop the os.nb on dump_200.bat not packagerebuilder.
[Touch GSM ROM Development] depakjan:
after using the patched dump it's working now.... i have couple of doubts..

can i use XIP and SYS from different builds?? (eg XIP of 21234 and SYS of 23028)

i built a ROM using the following steps but it stuck at smart mobility screen... please tel me what am i doing wrong

OEM folder - It contained the same OEM folder i extracted from this file PPC_USA_GSM_VR.BIN

Packages folder - it contained some mega packages ... nothin else

ROM folder - it had XIP folder, os.nb.payload, out.bin and romhdr.bin.. inside XIP folder .. there where lot of dll's starting from busenum.dll to TrueFFS.dll, a boot.hv file , a boot.rgu file , a dsm and rgu file and mxip_lang.vol file (This XIP was given by mike which he was using for elf)

SYS folder - this folder contained all the files from 23028 build available for download (SYS_23028_96DPI_0409.rar)

What is wrong... it gets stuck at smart mobility...
[Touch GSM ROM Development] trueg:
Yes you can mix and match XIP & SYS

getting stuck at the first screen could mean a registry error or a bad/missing driver.

You need to use an OEMDrivers for you device. The only file you would want to use from the OEM of the SDK is the initflashfiles.dat. You can not use the OEMDrivers from the SDK.

XIP folder sounds fine.

Have you been able to build a working ROM at all? I would suggest you start with an official HTC ROM. Dump it and rebuild it and make sure you can get that working. Then make small changes until you understand everything that is going on.
[Touch GSM ROM Development] depakjan:
i am trying to build a 6.5 rom... problem is i dont have anything to use as a base... maybe thats why i end up with a bad rom.... if i try to port a xip none of the cooked roms have xip.... uf i use platformbuilder even the official rom does not the payload file... so i am confused... but still trying... no idea where to get oemdrivers otherbthan the sdk
[Touch GSM ROM Development] trueg:
Before you worry about building a 6.5 ROM, get a handle on everything by building a working 6.1 ROM. Download an official Elfin 6.1 ROM (there are a couple to choose from - 3.07/3.10 etc). Follow the video tutorial and get a working build of 6.1. Once you have a working OEM, XIP and SYS you can try swapping out parts to get a 6.5 build up and running.

As far as getting drivers, you need to get them from an offical Elfin ROM. Everything begins by dumping an official ROM. Dump it, rebuild it and test it. Then keep the OEMDrivers and anything else in the OEM that you want. Swap out the XIP and see if that works. Then swap out the SYS, etc etc.
[Touch GSM ROM Development] depakjan:
Thanks trueg.. but i cant find OEM folder for 6.5.. since there are no stock roms for 6.5 i cant dump it.. all the cooked roms are protected.. when extracted it does'nt give OEM folder.. so i am searching for one.. if any1 is kind enough to upload their 6.5 OEM folder it would be very helpful....
[Touch GSM ROM Development] trueg:
Ahh, I see where you are getting held up. Until HTC releases 6.5 for your device (likely never) you have to use the OEM drivers and software from 6.1. Only the XIP and SYS will be 6.5.
[Touch GSM ROM Development] depakjan:
So using a 6.1 OEM drivers for a 6.5 ROM should not be a problem??
[Touch GSM ROM Development] trueg:
Indeed, it is the only way until HTC releases 6.5 for you device (which may never happen). The OEMDrivers for your device are specific for your hardware.

For example, before HTC released 6.1 for the ELFin, many cooks used the 6.1 OEM files from Opal, but even though the hardware was similar, we still had to use the 6.0 OEMDrivers that came with our devices.

So, I suggest you dump a 6.1 ROM for your device and see if you can rebuild it successfully. Then I would remove things that may conflict with 6.5. In fact, see if you can build a ROM with just OEMDrivers and OEMLang. Once you have that working, swap in a 6.5 XIP and SYS and see if you can get that working.

Actually, you can download the source files for my last ELFin ROM here....

http://www.myunspace.com/?d=44B27A391

and to take it even further, I went in to my old source files and removed all of the stuff that may interfere with 6.5. If you want you can download it here....

http://www.myunspace.com/?d=2463BCAD1

This is the OEM folder from 3.10.710.0 that I used for my last ELFin ROM with some of the packages removed. If you pare it up with the XIP and SYS from my source files above, you should be able to build a working ROM. If you then swap out the XIP and SYS with the XIP that you were given plus the SYS from the SDK you should be able to get something that works.
[Touch GSM ROM Development] newdecember:
error when using build rom

tried to build a rom using the tutorial with the SDK posted by trueg. followed everything to the letter, and tried to build a rom using the the OEM from wm6.1

as soon as i open packagerebuilder i get this error appearing

i have no idea where i am going wrong, as i haven't changed anything in OEM as of yet

the only thing i think i am missing is the XIP.bin file as i am using one from another kitchen but the file was not there. is it really needed or is there any way i could get it? XIP is 21222 and the SDK SYS is the one from the link trueg posted.
[Touch GSM ROM Development] trueg:
How about using the XIP and SYS from here first to see if you can build a valid 6.1 ROM, before trying to get 6.5 working?

http://www.myunspace.com/?d=44B27A391
[Touch GSM ROM Development] honcorrd:
Thanks

Thanks for sharing, i was reading for the past weeks and trying to encourage myself to buid my own rom, i thought it was more complicated. Will try to make a 6.1 rom and then a 6.5 rom. I allready have a back-up dump from my phone when i buy it. So thanks again. :cool:
[Touch GSM ROM Development] trueg:
Do you want to try this WM 6.5 ELF rom I just made up using an XIP from dsixda and SYS from SDK? If it works I will upload the kitchen for you.

http://www.myunspace.com/?d=C0715D5C1
[Touch GSM ROM Development] honcorrd:
Downloading, let you know, thanks

Flashed so far all it's going well

Memory Storage 136.73 Program 77.82

- battery icon on today menu doesn't go to power setting

- when soft reset or power off/on messaging app show up on taskbar, have to hit the X on the upper right to close

From that all the rest is working fine
[Touch GSM ROM Development] depakjan:
upload the kitchen trueg.. that would be really helpfull.. thanks for everything...
[Touch GSM ROM Development] trueg:
Well I'm glad it worked. I will upload it tomorrow.

the battery icon pointing to the power settings is a registry setting. If you can't find it before tomorrow I will post it.

Messaging coming up after a soft reset is the bootloader. I no longer use the bootloader from HTC, but I believe this can also be changed with a registry setting.
[Touch GSM ROM Development] honcorrd:
ok, thanks. I'm not very familiar to reg editing, i only edit when someone allready did the trick and share it in the forum.

ok, one step up to start cooking, last night i extract my back-up os.nb with platformrebuider. Today will do the rest to make my first stock rom 6.1
[Touch GSM ROM Development] trueg:
Here is an updated version of the ROM which should fix the two issues mentioned (battery & messaging). I can't test it myself.

http://www.myunspace.com/?d=473838591

I will be uploading the kitchen shortly.

For completeness sake, the battery icon link to power setting is this....

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\TaskBar]
"LimitedClock"=dword:0
"ConsistentClockOrBattery"=dword:0

To stop messaging from opening on boot..

Change

[HKEY_CURRENT_USER\Software\HTC\BootLauncher\Apps\TMail]
"Module"="\\Windows\\tmail.exe"
"CmdLine"="-noUI"

to this

[HKEY_CURRENT_USER\Software\HTC\BootLauncher\Apps\TMail]
"Module"="\\Windows\\tmail.exe"
"CmdLine"="-RunInBKG"

You could also try removing the tmail entry from bootlauncher.
[Touch GSM ROM Development] trueg:
Here is the kitchen I used to build the ROM posted just above this post.

http://www.myunspace.com/?d=170435AA1

It's a slightly modified version of the kitchen by Kokotas. It's based on Platformrebuilder and has batch files by Kokotas. In order to support WM 6.5 I updated platformrebuilder.exe to 2.1 and added set OLDKERNEL=1 to build_rom.bat.

I dumped 3.10.710.0 for the OEM and EXT packages (using this kitchen to do the dump). The XIP came from dsixda and the SYS was obtained by dumping the SDK using "Dump_SDK" that I posted the other day.

I added the battery registry change to the RGU in OEMDrivers and modified the registry entry for Bootlauncher in EXT.

dsixda has also made his kitchen public. It can be found here.

If you want to use Platformrebuilder as is, you have to make a few slight changes....

-The OEM & SYS from the above kitchen will work fine with a standard install of Platformrebuilder.

-For the EXT packages move them from ElfinK_WWE\EXT\IncludedPackages to Platformrebuilder\BASIC_RK\EXT\

-Update to 2.1 and add "set OLDKERNEL=1" to build_rom.bat if you haven't already

-Make the following change to \BASIC_RK\TOOLS\CreateROM.bat

Change this

..\TOOLS\IMGFS\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb.payload -bigstoragemove
if not "%errorlevel%"=="0" goto error

..\TOOLS\IMGFS\NBMerge -kaiser OS-new.nb
if not "%errorlevel%"=="0" goto error

To this

..\TOOLS\IMGFS\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb -bigstoragemove
if not "%errorlevel%"=="0" goto error

REM ..\TOOLS\IMGFS\NBMerge -kaiser OS-new.nb
REM if not "%errorlevel%"=="0" goto error

-Finally, if you want to use the os.nb.payload that came with Kokotas's kitchen, make the following additional change to CreateROM.bat

Change this

REM ===========================================================================================

echo.
..\TOOLS\implantxip xip.bin OS.nb.payload
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

To this

REM ===========================================================================================

echo.
..\TOOLS\msflshtool.exe OS.nb.payload -r xip.bin -p 0
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

and copy msflshtool.exe from \ElfinK_WWE\TOOLS\ to Platformrebuilder\BASIC_RK\TOOLS\

otherwise rename your os.nb to os.nb.payload and copy it to \BASIC_RK\ROM

A major benefit to using Kokotas's kitchen is that he uses yang.exe to automatically build the os.nb into a flashable ROM. With Platformrebuilder, you need to manually build the ROM using something like HTC ROM Tool (htcrt.exe).

Cheers,

TrueG
[Touch GSM ROM Development] honcorrd:
Thanks for sharing and responding. So this kitchen has it all, so if i click on the build_rom it will actually buil a rom?

I spend the last 3hrs reading to better understand everything in this thread.

if i want to update the build i replace the sys and xip from the new update?

in \ElfinK_WWE_2.1\EXT there are two folders, ExcludedPackage and IncludedPackage, in there i include and exclude the apps that i want to install :confused:

What about the OEM and Base Rom Folders?
[Touch GSM ROM Development] trueg:
Yes, it should build the same ROM that I posted today (has anyone tested that by chance?).

I put the packages that I didn't think you would want to use in ExcludedPackages which means they do not get included in the ROM, but I left them in that folder in case you wanted to try them. The packages in IncludedPackages are included automatically when you hit build.

What about the OEM and base ROM folders?
[Touch GSM ROM Development] honcorrd:
Yes i currently have it fashed, work fine, will test with it. Will play with removing and adding package to see how it goes.

BaseRom is for and Should i leave as it the OEM folder

Youtube is not working, cannot be opened. either it is not signed with a trusted certificate
[Touch GSM ROM Development] depakjan:
Hi trueg,

Thanks for the kitchen and everything.. i am at my workplace and i cant try it now... i will do this the first thing when i get home.. but one thing i need to understand is can i use Packagebuilder+buildOS in this kitchen.. when i used platform builder.. it din invoke this application .. it just created the nbh directly.. also this Packagebuilder+buildOS does all the G'reloc thingy.. so platform builder also does that automatically???..or i have do the G'reloc manually... coz i read in a tutorial that while porting XIP G'reloc has to be done..
[Touch GSM ROM Development] trueg:
The kitchen is complete, nothing needs to be ported. If you download it and hit build_rom.bat it will build the ROM that I posted. Once you have it working you can play around with the packages and settings to get it the way you like. If you plan to use some other SYS and XIP you may have to do various things to port it over.
[Touch GSM ROM Development] depakjan:
Yea i have been trying the port the latest XIP and SYS .. thats why the question.. but anyway no problem.. i will learn it stp by step.. thanks again..
[Touch GSM ROM Development] svprm:
@trueg

I'm going to use this kitchen.

Because i can't use visual kitchen for Elfin.

Shall i know:

what are the thing include in this rom?

include 6.5 or 6.1?

Thanks.

@honcorrd

Thanks for know this kitchen.
[Touch GSM ROM Development] honcorrd:
hi, me too want to port the last sys and xip

I want to fully understand the kitchen. I try to add and remove some package, build the rom, flashed boot up fine but the apps that i added wasn't there

any advise
[Touch GSM ROM Development] svprm:
I can't download form http://www.myunspace.com/?d=170435AA1

Any Mirror Pls.
[Touch GSM ROM Development] trueg:
The kitchen I posted includes the SYS and XIP for 21234 which is the official release of Windows Mobile 6.5 that was released to the public via SDK.

Can you be more specific about what you did and what didn't work?
[Touch GSM ROM Development] trueg:
try http://rapidshare.com/files/269556596/ElfinK_WWE_2.1.zip
[Touch GSM ROM Development] depakjan:
OMG!!!!!!!!!!... i finally found the problem... i have been building and building.. thinking that the porting i am doing was wrong.. but the thing the ELF(in)_Hybrid_Kitchen has probably some issues with 6.5.... the same stuff when i use the kitchen given by trueg.. it surprisingly worked well.. huf!!!... all this time i have been roaming all the threads.. and i finally found out... i was abt to give up... thanks trueg for the kitchen.. most probably i am guessing that Greloc thingy is the problem in the hybrid kitchen... i even changed it to WMreloc it always gets stuck at the smart mobility screen....
[Touch GSM ROM Development] svprm:
Thanks trueg.