yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] depakjan:
Hi trueg,

I tried to build a rom with the latest build 23028, ported SYS and XIP stuffs , but the rom did not boot.. so i tried with the XIP you gave with the SYS alone from 23028(DID NOT change .ROM,.VM,METADATA,SHELL,WinCENLS i know that they are XIP related) but i get this error while building.. what could be it??
[Touch GSM ROM Development] depakjan:
--Sorry Double Post---
[Touch GSM ROM Development] trueg:
I'm not sure about the error, but is there a reason you are so intent about testing leaked builds? When HTC releases 6.5 it will most likely be based on 21234 since that is officially Windows Mobile 6.5. Everything afterwards is experimental changes and fixes for 6.5.1 and beyond.
[Touch GSM ROM Development] honcorrd:
ok, sorry for not be clear.

i,m trying to undestand all the process but it is confuse :confused:

Know that i download the kintchen ready to go, how about changing thinks around. ex. add and remove package. Remove unecesary apps that came in the build.

I try to add package in the \EXT\IncludedPackage from the \EXT\ExcludedPackage

Build the rom

flashed to my elfin

But when i check in start menu non of the package i add were there
[Touch GSM ROM Development] trueg:
OK, which application did you try to add?

Also, is the HTC Task Manager working? I included it from my Raphael. There didn't appear to be any VGA specific graphics, so I figured it should work. It's the icon at the top left that shows you what is running and allows you to close applications.
[Touch GSM ROM Development] trueg:
Well, I'm felling generous, so I'm going to post a bunch of information that may or may not help you decide what you may or may not want to delete......

OEM Folders

BuildInfoPkg - contains text files that help HTC keep track of release information - safe to delete​

COLORSKIN - contains a dummy file named PACKAGE_COLORSKIN.dmy - not used on Raphael so I'm not sure but probably safe to delete​

ConfigAP - contains config_AP.txt which is used by AutoRun (see AutoRun details under OEMAPPS post).​

CONNECTIONSETUPDB - contains the provision.zip file which is used by connectionsetup. - safe to delete assuming you are not using connectionsetup (see connectionsetup details).​

ExtendedPkg - contains config.txt which is used by AutoRun (see AutoRun details).​

ExtraFilesPkg - contains updated graphics for several HTC programs like MP3 Trimmer & USBtoPCPopUP. Created to match the colour scheme of TouchFlo (dark blue, grey & black). - Safe to delete, once deleted the programs in question will use original graphics.​

LangDB - empty - safe to delete​

OEM_DPI_96 - empty - safe to delete​

OEM_Lang_0409 - contains help (*.htm) and resource replacement files (*.mui) as well as several templates for notes (*.pwi).

*.htm - feel free to delete unless you want the help files in question​

*.mui - required for their respective programs (can be deleted if you no longer use the program it is destined for).​

*.pwi - template files for notes - I don't find them useful - safe to delete​

initflashfiles.dat - creates folders & shortcuts for various programs - do not delete - can be edited to fit your needs.​

mxip_initdb.vol - database file for use by contacts - do not delete​

mxip_oem_translation_0409.provxml - creates control panel entries for HTC applications like Device Information & Power (since these programs do not have cpl files).​

mxipupdate_RemoteDesktopMobile.provxml - creates shortcut for Remote Desktop Mobile​

OEMAPPS - see separate post​

OEMDrivers - see separate post​

OEMMISC - contains shellcelong.dll (don't delete) and registry settings for Windows Live​

OEMOPERATORS - used to contain carrier configuration files, but these are now found in OperatorPkg - currently empty and safe to delete​

OEMVersion - contains a single provxml that sets the ROM version for use in DeviceInfo.​

OperatorPkg - contains a bunch of garbage for customizing the ROM for use with a particular carrier - in the case of 3.10.710.0, an Australian carrier - I may create a separate post for this​

I also included HTC Taskmanager & FdcSoft Task Manager in separate folders within the OEM folder.
[Touch GSM ROM Development] trueg:
OEMAPPS

AutoRun - an application that can automatically run after flash, HTC uses it to install several cabs, make minor fixes and change various settings. - I will make a seperate entry for AutoRun later.​

Backlight - a control panel replacement for the default Backlight cpl from Microsoft.​

CapNotify - not used (hardware keyboard app)​

CheckAutoRun - gets copied to startup by initflashfiles.dat and is used to initiate AutoRun​

CSDtype - control panel app for configuring circuit switch data​

GPRSAuthentication - control panel app for controlling GPRS settings​

IconDll.dll - contains a couple of icons used by HTC​

InternetExplorer.lnk - shortcut to Internet Explorer that gets placed in \Windows\AppButtons by initflashfiles.dat​

KeyLock - control panel app for controlling keylock​

KeyLockTray - tray applet for enabling backlight with hardware key​

Messaging.lnk - another shortcut destined for \Windows\AppButtons​

mxipupdate_oemdisable2577_100.provxml - doesn't seem to be valid - not sure what this is supposed to do.​

override.dll - used to override the use of resources, not sure if it is used at all​

SMSService.exe - control panel app for controlling SMS settings​

STKTray* - tray application for Sim Tool Kit (see Sim Tool Kit under EXT)​

SwitchUSB_PPC - not sure what this one does​

TiwlnapiCE.dll - dll for use with WiFi​

WiFiInit - I assume an app for initializing the WiFi adapter​

WirelessService.dll - dll for use with WiFi​
[Touch GSM ROM Development] trueg:
OEMDrivers - the OEMDrivers folder for the ELFin is fairly clean. For the most part you want to leave the drivers (dll) alone. That leaves only a few files...

*.wma - ringtones and alerts by HTC - ringtones are copied to \Windows\Rings via initflashfiles.bat. WM 6.5 prefers \Windows\My Ringtones but will still find them in \Windows\Rings.​

animation.dll - used for startup animation​

AutoShortcut - an alternative method that HTC uses to create shortcuts vs. provxml​

camera.lnk - camera shortcut that's copied to \Windows\AppButtons​

mxip_cold_OEMDRIVERS_* - contain various registry settings - don't delete​

mxipupdate_zzRemoveTSKmgr_1.provxml - removes Windows Task Manager from Start Menu​

RemoveGPS.provxml - removes GPS Settings from Control Panel​

RemoveWifi.provxml - removes Wireless LAN from Control Panel among other changes​

StartupAnimationEngine.dll - Startup animation driver​
[Touch GSM ROM Development] trueg:
OperatorPkg & OperatorPkg_PT - for the most part, there is little of value here.

a lot of the files are used to change your home page, create favourites and create icons for favourites. The startup animation gif and sound file are located here (animated.gif & BootUpHTC.wav).

The bulk of settings that you may want to look at are in the provxml files. In fact you may want to swap them for the provxml files that originally came with your device, since this is where the carrier customizes the behaviour of the ROM to match the requirements of their GSM network. If you are ambitious, you could go through each setting and figure out what it does. I did that for myself, but that would be too much information for me to post here.

AutoRun - located in OperatorPkg is config_operator.txt & the AutoRun settings. In particular, at the beginning of mxipupdate_oemoperators_107.provxml you will find the following code...

<!--Autorun settings-->
<characteristic type="Registry">
<characteristic type="HKLM\Comm">
<parm name="AutoRunCFG" value="\windows\config_operator.txt" datatype="string" />
<parm name="AutoRun" value="\windows\AutoRun.exe" datatype="string" />
</characteristic>
</characteristic>

This is where your AutoRun config file is specified. AutoRun uses this file to launch cabs and make changes automatically during the first boot after flashing. Here's what happens during AutoRun with 3.10.710.0...

config_operator.txt:

LOCK:Enabled ;all input from screen & keys are disabled

TSK: \WINDOWS\HTC.tsk ; default theme is changed

XML: \WINDOWS\Menu_Operation.xml ; homepage change

CFG: \WINDOWS\config_PT.txt ; open next config file (found in OperatorPkg_PT)

Config_PT.txt:

XML: \WINDOWS\RemoveArrtibMMS_0409.xml ; removes attributes from MMS images

EXEC:\Windows\AutoAttribute.exe \Windows\MASD_RemoveReadOnly.txt ; removes read only attributes from files listed in txt

CFG: \Windows\Config_AP.txt ; opens next config file (found in ConfigAP)

config_AP.txt

CAB: \WINDOWS\GoogleMaps-ms-htc_compressed.CAB ; installs GooglesMaps from cab

CAB: \WINDOWS\WM6_PPC_HTC_Opera9_WWE.CAB ; install Opera Mobile from cab

CFG: \WINDOWS\config_end.txt ; opens next config file (found in OperatorPkg)

config_end.txt - more homepage & Opera Mobile changes

EXEC:\windows\AutoVer.exe

XML: \windows\File_Operation_OperaAdr.xml

LOCK:Enabled ; again locks out input

CAB: \Windows\Opera_Skin.CAB

XML: \WINDOWS\Opera_Splash.xml

CFG: \Windows\config.txt ; opens next config file (found in ExtendedPkg)

config.txt

LOCK:Enabled ; again locks out input

LOCK: Disabled ; enables screen & key input

RST: Reset ; resets device

If any of the above commands fail while LOCK:Enabled, you will not be able to press any buttons or click on screen. If you delete one of the cabs and AutoRun errors out, it may seem like the unit has frozen, but it is simply because it is unable to continue and will not accept any input by screen or button. You can test this by calling your phone, it will ring, but you can't answer the call.
[Touch GSM ROM Development] trueg:
Should I keep going with EXT & SYS? Is anybody actually reading this?
[Touch GSM ROM Development] :
You are the man

Thank You, Trueg..for taking your time to address the formula for us newbies.

Regarding your question about SYS/EXT.

Sure, the more information we gathered, the better we can whip up our own ROM.

Again, thank you for your time.

You are the man !!
[Touch GSM ROM Development] depakjan:
Oh wow.. this is what i was looking for.. cool man.. thanks for sharing.. was searching for this in lot of forums.. you truly rock :)
[Touch GSM ROM Development] honcorrd:
wow trueg thanks a lot and we are reading that would clarify lot of question

thanks
[Touch GSM ROM Development] svprm:
Thanks trueg for more information.

I want to change start icon from 3 big icon to 3 small icon.

So,i Put a new edited cpr file in SYS\base_dpi_96_resh_240_resv_320 folder.

I want to create a Rom.

I opened the build_rom.bat

During building

Error:

But successfully rom created.

I install to new created rom .

But in Same 3 Big Icon.

In PPC,

I Copied the edited CPR files to Windows and restarted.

Work fine.

Help Me.
[Touch GSM ROM Development] trueg:
Sounds like you have two copies of the CPR in your kitchen. I would suggest a program like Agent Ransack to search your kitchen for duplicate files. You will also want to remove all instances of Thumbs.db which are created automatically when you have your Explorer details set to Thumbnails (from Explorer go to Tools\Folder Options\View\Do not cache thumbnails).
[Touch GSM ROM Development] svprm:
Now working properly.

Thanks.
[Touch GSM ROM Development] svprm:
Sorry for double post.
[Touch GSM ROM Development] svprm:
Task manager button is in big size.

Why?

See attachment.

I move a EzInput 1_5_32704_0 from ExcludedPackages to IncludedPackages.

Not working...
[Touch GSM ROM Development] trueg:
Ahh, I was afraid of that. You will need to delete PACKAGE_Raphael_TaskManager and PACKAGE_Raphael_TaskManager_0409 from \ElfinK_WWE\OEM\. I included it from my Raphael because it is WM 6.5 ready and I didn't think there was anything VGA specific about it. Seems I was wrong.

Actually, it may just be a registry setting, do you want to try this?

If you open FdcSoft Task Manager and go select RegEdit.

Then go to [HKEY_CURRENT_USER\Software\HTC\TaskManager]

Change

"LargeIconSize"=dword:00000040

to

"LargeIconSize"=dword:00000020

and see if that fixes it.
[Touch GSM ROM Development] svprm:
I moved a EzInput 1_5_32704_0 from ExcludedPackages to IncludedPackages.

Not working...

Why?
[Touch GSM ROM Development] trueg:
There are issues using EzInput. You may find some info here...

http://xdaforums.com/showthread.php?t=531315
[Touch GSM ROM Development] honcorrd:
What about trying Task Manager from Mega Package it is QVGA
[Touch GSM ROM Development] trueg:
I'm told (by dsixda) that the task manager that came with 3.10.710.0 should actually be fine. If you want to delete the Raphael Task Manager under \OEM and move the default Task Manager from \EXT\ExcludedPackages to \EXT\IncludedPackages that should get you going.
[Touch GSM ROM Development] svprm:
Thanks trueg for more info.

I have some question.

I want to edit register edit in kitchen and then build a rom.

It is possible?

I want to change the files in start folder.

where i can see start folder in kitchen?
[Touch GSM ROM Development] trueg:
There are a few ways to make registry changes. I prefer to find the original entry and edit it there. The program I mentioned before (Agent Ransack) is handy for finding the location of registry entries (it will search the content of all files).

The alternative is to add the entry to one of the RGU files in the OEM or create a provxml that makes the change. What do you want to change?

What about the start menu do you want to change?
[Touch GSM ROM Development] svprm:
I don't know which one is better?So

RGU files in the OEM or create a provxml.

and explain how to?

Start Menu:

I want to move the folder or files for one folder to other.

Ex:

In Start Menu,

Move Blue tooth Icon Setting folder to Outside of Setting folder.

Thanks for your help.
[Touch GSM ROM Development] hardikrajgor123:
noob question....first do we port the sys or the xip.....?
[Touch GSM ROM Development] trueg:
Adding the entries to an RGU is better than creating a provxml since the provxml file is left in your \Windows directory. Do you know what value you want to change and perhaps I can suggest where and how to do it?

As for the Bluetooth Icon you can move it anywhere in the Control Panel.

HKLM\ControlPanel\Bluetooth

Group=-1

Group = -1 ;Control Panel main page

Group = 0 ;Personal

Group = 1 ;System

Group = 2 ;Connections

You can safely add the entry to the end of OEMDrivers\*.rgu. If you look in the rgu you should be able to see the format and use that as a template.
[Touch GSM ROM Development] svprm:
Thanks trueg

Any way to add a name to ROM

Ex:

Name will see in Device Information.
[Touch GSM ROM Development] honcorrd:
ok, i think a made a stuped thing

I remove everything from the \Ext except for Power and PowerOffWarning, flashed and now my device boot and stay at the IPL :(

Any idea? I was trying to see what apps i can remove and then added the necesary.

Edit:

I put back all again to the \EXT and flash it's up and running, man this hard to figure all out...
[Touch GSM ROM Development] trueg:
Here's one way....

If you look in \OEM\OEMVersion\ you will find two files.

c779b734-99ff-4d71-8290-399852459550.dsm

mxipupdate_OEMVERSION_100.provxml

I would suggest that you delete mxipupdate_OEMVERSION_100.provxml and create the file

c779b734-99ff-4d71-8290-399852459550.rgu instead. Inside that file put the following code...

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM]
"ROMVersion"="5.11.502.2"
"ROMDate"="15-Jul-09"

Both ROMVersion & ROMDate can be anything you want.

Example

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM]
"ROMVersion"="TrueG_Customized_Version1"
"ROMDate"="JAN 01 2010"

*note - you have to include an extra blank line at the end of the RGU.
[Touch GSM ROM Development] trueg:
I'm not sure. I just scanned through the list of packages included in EXT and none of them are required to build a working ROM. I find that whenever I get a ROM that won't boot it ends up being due to registry errors. Did you make changes to anything else?
[Touch GSM ROM Development] honcorrd:
Nop, just that, BTW i got it working putting all back to \EXT
[Touch GSM ROM Development] trueg:
Well, I guess you can do it the hard way and remove them a few at a time to see which one was causing the problem.
[Touch GSM ROM Development] honcorrd:
Ok, was thinking of that too. thanks very much trueg for your patience, let you know. Going to sleep now
[Touch GSM ROM Development] svprm:
Thanks Trueg.
[Touch GSM ROM Development] sasa66:
Cannot download from both links tried a thousand times any one can upload to mediafire please

PS nevermind i finlly downloaded from rapidshare
[Touch GSM ROM Development] svprm:
Latest Releases (WM 6.5 23034)

Link:http://xdaforums.com/showthread.php?t=544445

This new release,

Will work on Elfin?

I want to upgrade to this new release.

I have one more Question.

Microsoft ActiveSync automatically open at start up.
[Touch GSM ROM Development] newdecember:
hmm that didn't go to well.

first attempt at cooking went a little bad....

cooked the rom and flashed it to my device

then it just hangs at bootscreen.

all i did was add some of the mega OEM Packages,

hmmmm. will try again adding the packages one by one to see if it works

anyone else been adding these packages into their roms know which ones work?
[Touch GSM ROM Development] hardikrajgor123:
triying to port the latest 6.5...but it got stuck at bootscree...once it went further the boot screen but stuck at installer...:(n
[Touch GSM ROM Development] fcukmayank:
hardiik

your xip is wrongly ported

check it again
[Touch GSM ROM Development] honcorrd:
Trueg can you please put your sys explanation, thanks in advance

Edit:

Hey guys i just remove this modules from \SYS

Autoupdate

Autoupdate_lang_0409

fwupdate

fwupdate_lang_0409

OneNote

Onenote_lang_0409

SampleMusic

welcomecenter

WelcomeCenter_Lang_0409

voicecommand

voicecommand)lang_0409

skybox

skybox_lang_0409

skymarket

skymarket_lang_0409

Is there any reg edit i should change or just delete from \SYS

Also add this to \EXT\IncludedPackage

AdobePDF

AdvanceNetwork

Album

BluetoothSetting

BootLauncher

BTBPP

BTSAP

Camera

ClearStorage

CyberonVoiceCommander

DeviceInfo

DShow

EzImput

FullScreenPlayer

HTC Animation

HTC Application

HTC Gesture

HTC Message

HTC Setting

HTC Util

Invoke SIM

JBlendJava

LockStream

LongPressEnd

mHubVo

Microphone AGC

MyCPL

NewMailAccount

Package Elfin Google Map

Package Elfin Opera

Phone canvas

Phone Setting

Picture Enhancement

Power

Poweroff Warning

Random Access

Redial

ShareDLL

SignatureReplacer

SIM_MGR

stk_service

stk_uippc

Storage low

Task Manager

USB to PC

USB to PC pop up

USSD_service

Wlan Setting

Build the rom and flash, but it stuck at the orange screen, will try to remove some \ext\includedpackage so see
[Touch GSM ROM Development] !Aman!:
u can't delete FWUpdate from SYS completely. keep packageinfoapi.dll from that folder and it should boot properly.
[Touch GSM ROM Development] honcorrd:
ok, so i keep that file inside FWUPDATE or i can delete the folder a put packageinfoapi.dll outside on \SYS??

Thanks Aman
[Touch GSM ROM Development] !Aman!:
keep it anywhere, just make sure it is cooked in the ROM :D
[Touch GSM ROM Development] honcorrd:
Ok, just made the change and build the rom, will flash it now :D Let you know.

ohhh one question, for removing apps and module from \sys i have to made change to reg?

Thanks again
[Touch GSM ROM Development] svprm:
Help me!:

http://xdaforums.com/showpost.php?p=4387156&postcount=1257
[Touch GSM ROM Development] depakjan:
i have sucessfully ported 23034 SYS and XIP.. but i have loads of probs i dont know whether this is because of the beta build or i myself made errors.. let me list down the problems please help me in this..

1. Scrolling does'nt work.. it works but it's like moving the page.. kinetic scrolling i guess is not working.

2. Close button appears on both the top right corner also at the bottom left.. (As per 23034 'X' button should only be at the bottom left).

3. The bottom 'X' button has VGA graphics it appears huge.

4. Sometimes the icons in start menu does'nt work after scrolling.

5. This thing does not work :(

please help me solve it.. thanks :)
[Touch GSM ROM Development] sendhiloo7:
Great Work Man....

very easy to cook the ROM.

i have one query:- when i port XIP , itz comes all files in same folder.

but your xip having two separate folder

can you pls tell me how to make XIP port your structure
[Touch GSM ROM Development] newdecember:
hey sendhiloo

try this tutorial.

http://www.everythingdiamond.info/showpost.php?p=2879&postcount=2

hope it helps

dave :D
[Touch GSM ROM Development] sendhiloo7:
Thanks a lot.

itz very useful
[Touch GSM ROM Development] svprm:
Sorry i found nothing there.

Help Me.
[Touch GSM ROM Development] trueg:
Sorry, I haven't checked this thread in a while. The thread I linked to has a cab for EzInput. Did you try it? If it works you can either install it after you flash or turn the cab into an OEM package.
[Touch GSM ROM Development] svprm:
Ok thanks.
[Touch GSM ROM Development] trueg:
If you drag the dsm files on top of packagebuilder.exe (\ElfinK_WWE\TOOLS\pkg\) it will organize the files into the correct folder structure. Keep the OEMXipKernel from the kitchen and use the new MSXIPKernel from the ported XIP.
[Touch GSM ROM Development] trueg:
Most often the registry entries for a particular package would be contained in the RGU found in the same folder. For example, you can safely delete VoiceCommand & VoiceCommand_Lang_0409. All of the needed registry entries are contained within those folders.
[Touch GSM ROM Development] svprm:
I want to use a new SYS 23037.

I don't know what are the files to change?
[Touch GSM ROM Development] trueg:
Do you have the QVGA version? Is it already in the language that you want? Assuming you have a clean dump of a QVGA SYS in the language you want you should just need to keep the .VM, .ROM & WinCENLS_WWE (assuming you want English). That is all I used when porting the SYS from the SDK. I'm not even sure you need the .VM or .ROM with platformrebuilder, but it doesn't hurt.
[Touch GSM ROM Development] fcukmayank:
i am unable to get 6.5 themes and menus when i port 23034 sys and xip

can somebody help me on that???
[Touch GSM ROM Development] svprm:
Soory,

I can't understand.

I have SYS 23037 and XIP.bin.

What are the files to Change?
[Touch GSM ROM Development] liho19:
I have SYS 23017 and XIP.bin.

What are the files to Change?

please help.

THanks thanks
[Touch GSM ROM Development] chota_shivaji:
Hi trueg,

- First of all let me thank you whole heartedly for the information you provided here. It is truely a starting cooking base for many new-bies here (like me).

- Since dsixda/vadyarik et al moved to newer phones ROM development, I decided to build a custom WM 6.5 ROM for my Elfin.

- I dumped the official 3.10 WM 6.1 ROM, again cooked it without any change using "ELFin_Hybrid_Kitchen_v2.0.7.exe". All was fine with this ROM.

- But the "stuck on boot screen" problem started nagging once I shifted to WM 6.5 SYS/XIP. This was similar to what depakjan mentioned in his posts.

- After refering to this thread and using the kitchen shared by you, I am able to cook my own WM6.5 ROM (build 21234 to start with). Hurray !!

Having said that : Do you have any idea regarding the issue I (or depakjan) faced with ELFin_Hybrid_Kitchen_v2.0.7.exe? If no, is there any thread that deals with this kitchen, where I can post the observations so far?

Lastly, once again many thanks for your time and urge to provide the help.
[Touch GSM ROM Development] svprm:
http://xdaforums.com/showpost.php?p=4362334&postcount=1203

Try this link.

Complete WM6.5 Kitchen SYS 21234.

It will help you.