yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] sheennick123456:
porting wm 6.5 sys

while porting wm 6.5 sys i keep getting "integer overflow" errors with g'reloc

i read that wmreloc solves the issue

but can anyone tell me how to use wmreloc ??
[Touch GSM ROM Development] Ameet:
Have not been on the 6.5 kitchen as yet.. will be trying to cook this build tomorrow.. shall let you unless if you dont get the answers :)
[Touch GSM ROM Development] dirtytwo:
Thanks for the guide ameet.

seeya
[Touch GSM ROM Development] dsixda:
Guys, if you use Bepe's new Platform Rebuilder kitchen you will not have to worry about porting over a new SYS, as it does everything automatically for you. Just drop the new SYS and you're done. But remember to include WinCE.NLS from a working SYS if the new SYS does not have one. You'll find the new kitchen in the Hybrid Kitchen thread, I think it's in the 2nd post.
[Touch GSM ROM Development] Ameet:
Feels great to cook like Bepe's old kitchen :D
[Touch GSM ROM Development] !Aman!:
haha, i know why u are saying that ;)
[Touch GSM ROM Development] stevenh78:
Hi guys, I'm having a few minor issues while porting XIP and SYS for my Samsung i900...

After porting, i see the following bugs:

1. Finger mouse doesn't work properly, after clicking on something it disappears and only comes back after a soft reset.

2. Multi-file selection no longer works. I tried the registry hack but didn't make any difference, any other suggestions?

3. Preconfiguration no longer happens. Don't know if HTC devices are the same but for the i900 after initial boot, a second reboot normally occurs saying preconfiguration complete. I believe this is for OEM customisations... Any idea how this would normally have been triggered?

Thanks

Steven
[Touch GSM ROM Development] stevenh78:
Hi, I've worked out (1) above and I think what (2) is, but can anyway give me some suggestions for (3)? What does nk.exe call after it has booted and what is called until preconfiguration?

Thanks

Steven
[Touch GSM ROM Development] niceguy001:
i want to port topaz sys to elfin. it gets stuck at smart mobility screen.

I have ported topaz xip.bin to my elfin successfully. and it works only with orginal elfin sys. i replaced 192dpi with 96dpi .i have kept WinCENLS_WWE .VM .ROM from orginal elfin and did G'Reloc. but still no luck. can someone help me please?

Thanx in advance

ps:OS 5.2.21041 build 19972.1.2.7 and the first boot is damn slow. it took almost 3 min.
[Touch GSM ROM Development] Nixeus:
Hi my friends,

Is the method to port SYS in wm6.1 the same in wm6.5 ?

I have try to make wm6.5 rom, and my ELF don't boot :( :(

Thanks a lot !
[Touch GSM ROM Development] + Que PPC:
Have done the xip port but...

I had a question...

I have two xip.bin. One is the old xip.bin that i have in my kitchen, i mean... in my kitchen i have the ROM folder, inside i have XIP(folder) xip.bin(file from old 6.5 functional release) os.nb.payload(file from old functional 6.5 release) and romhdr.bin(file from old 6.5 functional release).

the other xip.bin is from the new build, the one i dump with xip porter, and obtain the MSxipkernel folder and MsXipkerneltlk folder.

I had overwrite the files and modules Xip kernel and tlk to my old XIP folder onmy kitchen... but there, in ROM folder remains the old xip.bin...

So this is the question... do i need to overwrite the old xip.bin with the new xip.bin build(the one I dumped with xip porter)????? or i must to left the old there and only!!! overwrite that files and modules MSXIPKERNEL and tlk folders?

Thanks in advance everybody.
[Touch GSM ROM Development] humrod:
Hola +que PPc

The port of the xip today, reduces to add new MSXIPKERNEL to a base OEMXIPKERNEL

In fact, if you use modern kitchen like platformrebuilder, you just change the hole folder.

In Hybrid, I use the Xipport.exe to obtain the Files and Modules folders, and take the MSXIPKERNEL files and overwrite the old ones, and viola!
[Touch GSM ROM Development] kancrutt:
everybody have ported XIP/SYS for Elf from WM6.1 latest build?

thanx in advance
[Touch GSM ROM Development] muhrizky:
Amazing tutorial you have here. Thank you mr. Ameet :)
[Touch GSM ROM Development] suiller:
very nice tutorial, useful & plenty of "must known" info :cool:
[Touch GSM ROM Development] Ameet:
when re u going to post the packages u did out of the wm6.1 rom? i would really like to compare and see what else i can remove to make this base even more bare bones :D

also brother, please help me on how to get the exact contents of bepe's wm6.1 kitchen ROM folder
[Touch GSM ROM Development] :
Excellent job guys.
[Touch GSM ROM Development] Noonski:
I did try to port the XIP from bepe's kitchen but without succes.

I switched .vm folders and used g-rloc.

And i found the the Kaiser kitchen Extracts and makes a os.nb.payload.

So if i can change that kitchen to work with ELF i can prolly make my own payload,...

But all will come.

Time for sleep and some nice documentaries about Egypt and Hopi Indians.
[Touch GSM ROM Development] vibranze:
Yeah, I have a lot of OEM packages but the default files/folders inside [OEM] and [SYS] folder, I don't have them and normally those files/folders are generated using PackageTool. Hope you get what I meant:)

Let me try your OEM and SYS, I will report again if there is any problem.

Cheers,

Vibranze
[Touch GSM ROM Development] vibranze:
Please don't ignore me, I'm just a reborn newbie:)
[Touch GSM ROM Development] vibranze:
I managed to cook the new ROM based on your base ROM and OEM/SYS package. I can boot up my phone normally but I can't get the phone signal, any idea what I need to add to get the phone service up?

I also found inside the OEMAPPS directory, there are some files that you mentioned you already removed but they are still there, eg. autorun.exe, biotouch, startupbiotouch, midletmanager.lnk, etc. Are they meant to be there?

Cheers,

Vibranze
[Touch GSM ROM Development] JohnQ:
@ababrekar: Yeah , i know im just waiting for someone develop a newer version of wm6.1 rom for elfin on your clean ROM base. lol cheers!
[Touch GSM ROM Development] Ameet:
thnx vibranze.. first of all, i didnt face the signal problem with this base rom. probably i must have deleted some file by mistake. will re check and repost. secondly, as i mentioned its v.1 and said your valuable comments will be looked into :) the files you mentioned are left in the base again by mistake, which i will in sometime remove and repost a v.2.. and lastly, i havent removed biotouch but again, thnx for ur comments and observations. i'll remove biotouch too so users can have even more customising options to use ftouchflo or something
[Touch GSM ROM Development] Ameet:
I have updated the oem folder as per new removals and got it down to 3.9MB approx with bare minimum packages. Downlaod link updated in the initial post. Also added the links to the rapidshare OEM folder, do check it out for useful packages. will keep posted in the updates there and do keep me posted on valuable comments :D
[Touch GSM ROM Development] Ameet:
updated the 3rd post with link to download my clean edition v2 rom for touch xl
[Touch GSM ROM Development] Ameet:
can anyone guide me on this. i think i might be experiencing a memory leak here. i only have htc home plugin, data connection active and lg menu plugin active. but the memory after flash shows approx 81 mb but it starts reducing

hope someone would guide me to a correction here. also i have removed the wm6.1 task manager yet it still shows me the link. tried to hunt for .lnk file in the dump but couldnt find any, noonski, can u tell me how to get rid of this file? although it doesnt work as i have removed the package. screenshots attached
[Touch GSM ROM Development] vibranze:
Hi Ameet,

What is the different between AB_CE_V3.1.nbh and AB_CE_RUU_Signed.rar? And where is the ROM folder? Can I just use the Bepe's kitchen ROM folder?

Thanks.

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
Hey Vibranze.. my bad.. the 3.1 is latest.. updated the rapidshare folder links.. thnx for pointing out :D

i have not included the rom folder as that you need to use from bepe's kitchen as he has already ported the xip... (i dont knw much about xip editing, so i didnt try)
[Touch GSM ROM Development] vibranze:
Hi Ameet,

Ok, no problem:)

Another thing I found, Autorun.exe was left in the ROM. It's no point to leave it in the ROM if you deleted CheckAutoRun and didn't use Sleuth's SDAutoRun:)

Also, HTCDrmApi.dll, HTCFSrc.dll, HTCUtil.dll are there too. They are belong to AudioManager & HTC Home if I'm not mistaken, you can remove it as well.

Have a nice weekend.

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
hey thanks brother.. i deleted those files out of my rom.. you know the advantage of removing these useless files is that you can then add more packages that you really want :D
[Touch GSM ROM Development] vibranze:
Hi Ameet,

For memory leak I can't help, but for task manager I believe it is from mxipupdate_taskmgr_shell_1.provxml inside Base_Lang_0409 folder.

I also have the same problem for "Games", I couldn't find it at all inside all the folders but I can see empty Games folder in Start - Programs - Games. Any idea how to remove it too?:)

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
well, i'll try ur provxml trick... for the games folder, you will need to edit the

OEM\OEM_Lang_0409\initflashfiles.dat

file and remove these lines

Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs\Games"):-File("Solitaire.lnk","\Windows\solitare.lnk")
Directory("\Windows\Start Menu\Programs\Games"):-File("icon.lnk","\Windows\gamesico.lnk")
Directory("\Windows\Start Menu\Programs\Games"):-File("Bubble Breaker.lnk","\Windows\BubbleBreaker.lnk")

Super Edi is a good editor to edit dat and rgu files
[Touch GSM ROM Development] vibranze:
Wow, you are damn fast.

Weird, I search (keyword: game*) the whole Kitchen using search and replace utility but didn't manage to find them, it maybe because the utility thought .dat is not an ASCII file. Thanks bro!

I found in the whole registry dumped by ssnap there is a taskmgr entries.

[HKEY_LOCAL_MACHINE\Software\Microsoft\TaskMgr]

"ProcUsageRefreshInterval"=dword:00000005

"RefreshInterval"=dword:0000001E

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSTASKMGR]

"3"=dword:00000000

"2"=dword:00000001

"1"="taskmgr.exe"

"0"="MSTASKMGR"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSTASKMGR\Session]

"Default"=hex(3):80,7c,0a,ab,ee,30,c8,01

[HKEY_LOCAL_MACHINE\ControlPanel\TaskMgr]

"Group"=dword:00000001

"Redirect"=":MSTASKMGR"

[HKEY_CLASSES_ROOT\taskmgrapp]

[HKEY_CLASSES_ROOT\taskmgrapp\DefaultIcon]

"Default"="shellresapps.dll,-20228"

[HKEY_CLASSES_ROOT\taskmgrapp\SelectIcon]

"Default"="shellresapps.dll,-20229"

I am sure those entries caused the appearance of taskmgr in control panel and once you delete it, you won't see it anymore. The rgu file responsible for it is SYS\SHELL\1f1aca24-d942-464a-9281-10567741499c.rgu.

Another finding : obexfile.dll is left behind, this is for BT Explorer.

Cheers,

Vibranze
[Touch GSM ROM Development] Noonski:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:M STASKMGR]

"3"=dword:00000000

"2"=dword:00000001

"1"="taskmgr.exe"

"0"="MSTASKMGR"

I change this one to point at "TaskList.exe" from Bt Status.

So i still have taskmanager icon in Control panel after removing but it then opens pop up Baterystatus X Close App.
[Touch GSM ROM Development] vibranze:
Finally you are here:)

I use wkTask as a task manager so I didn't need others, that's why I deleted it all the way:)

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
well, i deleted the strings shown by you but the shortcut remains.. also can you tell me how to get rid of these items in settings?

Encryption

Error Reporting

External GPS

Managed Programs

Domain Enroll (Found here http://xdaforums.com/showpost.php?p=1882740&postcount=196)
[Touch GSM ROM Development] vibranze:
Hi Ameet,

I've update my post, you need to delete the registry entries as well.

For the items you mentioned, I forgot which files/registries to delete, will let you know once I figure it out.

FYI, you can also delete SQM (Service Quality ...) as it is useless.

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
i tried deleting the sqm folder once but then there was no signal at all
[Touch GSM ROM Development] vibranze:
Yeah, I have this problem too:( In the meantime I think it is safe to leave it intact.

Weird, last time my Asus was working ok even after I deleted the sqm.

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
u know now i'm facing a wierd problem... i cooked a new rom without the backlight settings.. it was working fine through htc home plugin.. now i flashed a newer rom then went back to old one and now it stopped working... ****ing weird problem man
[Touch GSM ROM Development] Noonski:
SQM can't be removed in 6.1 (Yet)

Some other apps are more heavily depended on it.

Just a new way of MS to be sure we don't take their spyware out ;)

So at the moment disabling SQM is the best option.

Believe me i tried and tested it . so someone needs to dig deeper into the matter.

Same goes for ceuipit.exe (or something like that), can't be removed anymore.
[Touch GSM ROM Development] Ameet:
yes i remember u telling me this earlier too :) did u find a way to get rid of the items i posted before? i really dont use them

also did u figure out about xip dumping like bepe's kitchen? coz i'm using ervius's package & buildos tool with bepe's rom folder.. it works amazing and very easy. gives you an option to keep the dsm and rgu if u wish to dump and recook your own rom someday. i was thinking of using this new kitchen to cook further roms if i could only dump xip from my rom and have the rom contents just like bepe's
[Touch GSM ROM Development] vibranze:
Bro, how to disable SQM since you can't remove it? Me blur!
[Touch GSM ROM Development] Ameet:
@all experts in xda.. i have tried my hand at extracting xip from kaiser official wm6.1 rom following this procedure

http://xdaforums.com/showpost.php?p=1934603&postcount=390

below are the files from my custom cooked rom and kaiser rom for your review. can any of u please check the contents and let me know if this is right, then it will be of great help to everyone. also for the .payload file, i used nbsplit on kaiser shipped rom with this command "nbsplit -kaiser os.nb" can i use this file for cooking wm6.1 roms for my elfin?

i am trying to port the new build (19209) to elfin, lets see how it works out to be. also included the link to download the xip (19209) from trinity

XIP Kaiser

XIP My Own

XIP Trinity 19209
[Touch GSM ROM Development] Ameet:
no expert to comment on this yet? strange!! bepe, noonski.. atleast can u guys let me know something?
[Touch GSM ROM Development] Ameet:
Guys, I have baked a new ROM which gives me 179.73MB storage memory and 80MB program memory after flash. I have attached the screenshot that shows the memory after activating ultimatelauncher with home plugin and running good no programs. 75MB with all this running is not bad

I would call this ROM AB.CE.V3.3, its an addition to my already existing clean editions. I will update this post and initial post with contents of this ROM. Before posting will remove the ulimatelauncher and replace it with a similar sized package. I have only keyboard for SIP ;)

Ahh.. yes also the cube is completely removed :D

Next Target: Porting new build (19209) to ElfIn and make the files public so everyone can cook :D
[Touch GSM ROM Development] vibranze:
Bro,

Did you have any problem with apps that need to use NetCF? I have problem with HHC (HTC Home Customizer) and CHMReader.Net but not with Schap's Advanced Config.

If you don't have the problem with those 2 apps, kindly upload your NetCF 3.5 OEM, thanks!

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
i didnt face any problems with netcf 3.5... will upload my oem in sometime...
[Touch GSM ROM Development] Ameet:
XIP Porting Guide in Post #1

Hi guys.. I have updated the first port of this thread with the XIP porting guide as promised. If you have any suggestions or any corrections that you may find and I will update the post with all necessary credits ;)

Happy Cooking
[Touch GSM ROM Development] kokotas:
Nice Work!

You finally did it brother!:D

Thanx again!

You made it possible for us to have any OS and any Build in our ROMs!

Great work!;)

Regards!
[Touch GSM ROM Development] Ameet:
you welcome brother. also added a guide in the first post to port the sys to have a new build alongwith the xip :D

hoping to see some new roms get added to xda (elfin) those look like a lego game ;)
[Touch GSM ROM Development] chiledog:
Thanks for the guide ababrekar.

Been looking for some info on XIP's for the last week and this is just what i needed.
[Touch GSM ROM Development] Ameet:
:D hoping to see some new roms come out of here :D
[Touch GSM ROM Development] chiledog:
Still learning but who knows.

already used this method to backup my Orange rom with the orange XIP (an Orange certificate that was missing with the HTC XIP)

I'll be sure to post if I manage to cook something yummy
[Touch GSM ROM Development] Ameet:
uploaded the 19209 xip.bin from ervius in first post. enjoy
[Touch GSM ROM Development] !Aman!:
Do these tools work in Vista?
[Touch GSM ROM Development] Ameet:
i havent really tried it.. u can try and post the findings :D
[Touch GSM ROM Development] its right:
nice guide bro :)

i want to ask, why you didn't use bepe kitchen while he said it fully supported xip editing!!!

i mean, his kitchen can deal with new xip with just replace the older with newer and run the bat file.
[Touch GSM ROM Development] Ameet:
i actually put up the guide to share the know how which i learnt from another expert. bepe's kitchen is fully automated (his work is so cool :cool:) but its good to know how it is done rather than just knowing it will be done somehow :D :)
[Touch GSM ROM Development] Ameet:
can anyone post cab or oem for arcsoft mms composer 4.0.31.34? i want to remove it out of my rom coz i never use it but dont know which files to be deleted
[Touch GSM ROM Development] monsterfly:
Try with this OEM. It is just newer version.

http://xdaforums.com/showpost.php?p=2087698&postcount=594
[Touch GSM ROM Development] vibranze:
Hi Ameet,

Thanks for the step of xip and sys porting.

Btw, what is the purpose of sys porting? Is it to replace/upgrade the whole SYS folder to match the newer build?
[Touch GSM ROM Development] its right:
you are really nice and looking for what is happening inside tools, very nice;).

could you try bepe's kitchen if it can port for 19209 or not!!!

actually i wrote that msg to know if it worked or not, i used it for porting 19199 build for hermes and wizard and it was really nice but for 19209 i ported using the right method (as 19199) but it shows 19202 instead of 19209 (while i didn't deal with 19202 in this kitchen.

i tried so many times to know why with no luck :(
[Touch GSM ROM Development] its right:
you have modules in OEM folder, they need to be located at the suitable addresses, if you didn't that, your device will not boot.
[Touch GSM ROM Development] vibranze:
I see, so the term of sys porting is actually to create the new OEM modules with suitable address of the new XIP? Thanks.

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
i had tried it once and i does work like a charm :D bepe's kitchen supports xip & sys porting. you only need to replace the new ported xip and new sys folders

i use ervius's tools as they are actually easier to port the xip and to function.. moreover with his tools u have an option to keep the dsms and rgus within the new rom (makes it re cookable)
[Touch GSM ROM Development] Ameet:
xip porting is done to get a new os version

sys porting is done to get a new build version

only replacing folders wont help. you need to relocate certain modules (.rom and .vm in sys) to make it work for ur device. follow the steps in the guide and get a new os and build :D
[Touch GSM ROM Development] vibranze:
Hi Ameet,

Yeah, want to cook a new ROM but too busy with too many things:(

One fine day, sure cook new ROM, let's see!:)

Cheers,

Vibranze
[Touch GSM ROM Development] its right:
i know it will support with no problems, but did you try to port for 19209??? this is the problem, it shows 19202 :confused:
[Touch GSM ROM Development] Ameet:
i am using my ported xip 19209 with build 19209

View attachment 82948

maybe u have ported a wrong version.. bepe's kitchen wont change the version numbers bro :) try to use the xip.bin posted by me in first post.. it is the 19209 build xip
[Touch GSM ROM Development] Ameet:
I'm trying to get a bigger catch by removing MMS (its about 2.3 MB) :D Can I send someone the .rgu from OEMAPPS, and you can edit it to remove the MMS from it? Please.. Please? I dont want to screw up again :( (already tried) and also is it right to remove these files for removing MMS?

OEMAPPS:

Engine.dll

getMMSCtxMenuInfo.dll

mm1lib.dll

MMSCtxMenuPlugin.dll

MMSForm.dll

MMSRes_240x320.dll

MMSTransport.dll

PoomIntegration.dll

SettingDll.dll

Transport.exe

mxip_MMS4.0_AccountName.provxml

Arail.amf

Emoticon_240x320.ini

OEM_Lang_0409:

CannedText_0409.bin

0_0409.dat

1_0409.dat

2_0409.dat

getMMSCtxMenuInfo.dll.0409.mui

MMSTransport.dll.0409.mui

mxip_MMS4.0_0409_folder_Notification.provxml

MMSTemplates0409.ini

MMS Composer0409.lnk
[Touch GSM ROM Development] lennysh:
All of the settings in the registry will be together in the rgu. Last line of the MMS code i think ends with the version number of the app. Can't remember what the first line is.
[Touch GSM ROM Development] lennysh:
What was the original XIP that you were using? 19202? or older?
[Touch GSM ROM Development] its right:
ok, i just found where is the problem.

in 19209 build, now the OS reads from 723fb954-d931-4348-b672-82a188e587b5.dsm and coredll, not only coredll as before :).
[Touch GSM ROM Development] Ameet:
thread updated with my new rom as targetted and with new 19209 ported sys folder for cooking

http://xdaforums.com/showpost.php?p=2051341&postcount=4

http://xdaforums.com/showpost.php?p=2051341&postcount=3
[Touch GSM ROM Development] kokotas:
Hey Ameet!

You're making things so easier with this thread!

Good job;)

Btw, I guess that the .rgu didn't help removing the MMS...

Regards!
[Touch GSM ROM Development] Ameet:
It makes life easier for cooking wannabes :D

nopes.. :( it didnt. kinda screwed up again :( tried to delete only the dll files and deleted only the arcsoft entry in rgu, this time it worked but screwed up some menus in contacts and messaging.. i'll keep working on it till i find a way out to remove mms
[Touch GSM ROM Development] Ameet:
does anyone know of any registry logger for ppc? i dont want to include advanced config in my next recipie coz to save space but will make the necessary reg changes in .provxml packages and cook.. just to save space
[Touch GSM ROM Development] kokotas:
If you mean something like this RegLogger

http://freewareppc.com/utilities/reglogger.shtml

or

http://xdaforums.com/showthread.php?t=333323

you can grab the OEM Package here.

Regards!
[Touch GSM ROM Development] Ameet:
hey thanks so much brother.. i'll check it out
[Touch GSM ROM Development] vibranze:
Hi Ameet,

Actually what you need is ssnap and windiff.

1. ssnap - run before and after you tweak the system (note: please take out your SD card, if not it will take a long long time to scan your SD card).

2. windiff - compare before and after file generated by ssnap, identify the changes, apply them into provxml or as OEM package.

You can get them from HTC Wiki at http://wiki.xda-developers.com/index.php?pagename=Elf_Utils

Cheers,

Vibranze
[Touch GSM ROM Development] Ameet:
hey vibranze.. thats prety cool.. thanks brother.. this realy saves me approx. 300kb which i'll put to good use.. helpful ppl like u n koko makes this community a fun place to cook :D
[Touch GSM ROM Development] Ameet:
these re the files and entried i tried to remove for mms but it kind of screwed up some menu items in messaging and contacts.. can someone please check this and guide me