PDA

View Full Version : [POLL][REF]*SYS Porting Guide*[ONLINE]


Pages : 1 [2]

Ameet
30th July 2008, 10:40 AM
well i really want to know how to dump an xip so that i can port my latest
Well first run this command on OS.nb (use the RomMaster V2.3)
RomMaster.exe OS.nb. -w 5 -b 0x00310000 -x -o xip.bin
Then run the XIPPort Tool from Bepe in same folder as xip.bin. click Dump Packages and then click Package. Thats it, you get the dumped XIP. If you use the DumpRom on xip.bin you will get the required RomHDR.bin file with the dumped XIP (but will files, not modules and all in one folder)

Hope this helps

well, i dont use email acc on my phone. but i can select mulptiple sms's. may be u can try poutlook from another build like 19965. Ameet can help u better in that case.
Well all I did was replace the "tmail.exe" from 19965 build ;)

{SBR}_L3GION
31st July 2008, 07:09 PM
Well first run this command on OS.nb (use the RomMaster V2.3)
RomMaster.exe OS.nb. -w 5 -b 0x00310000 -x -o xip.bin
Then run the XIPPort Tool from Bepe in same folder as xip.bin. click Dump Packages and then click Package. Thats it, you get the dumped XIP. If you use the DumpRom on xip.bin you will get the required RomHDR.bin file with the dumped XIP (but will files, not modules and all in one folder)

Hope this helps


Well all I did was replace the "tmail.exe" from 19965 build ;)

whenever i try to run the command you give me all it does is create an emptry xip folder it never puts anything in it.

!Aman!
31st July 2008, 07:11 PM
whenever i try to run the command you give me all it does is create an emptry xip folder it never puts anything in it.
try "RomMaster.exe OS.nb -w 5 -x -o xip.bin"

{SBR}_L3GION
31st July 2008, 07:44 PM
try "RomMaster.exe OS.nb -w 5 -x -o xip.bin"

thank you so much that worked perfectly. could you help me from here i really dont want to mess things up. i really need some help as to not really mess up my device i do have a guinea pig i will port to first so i dont lose my working phone but i really would prefer not to lose that phone if i can keep from it.

!Aman!
31st July 2008, 07:46 PM
thank you so much that worked perfectly. could you help me from here i really dont want to mess things up. i really need some help as to not really mess up my device i do have a guinea pig i will port to first so i dont lose my working phone but i really would prefer not to lose that phone if i can keep from it.
it should be easy now. just use the xipport.exe to dump the xip.bin, chose to 'make packages' and follow the other steps written in this guide for porting of files and modules from msxipkernel and msxipkerneltlk :)

{SBR}_L3GION
31st July 2008, 08:11 PM
ok i have read this over and over and i think i can accomplish it but i will report back if i have any troubles one thing i do see i might have a poblem with is that i wont be using build os and package tools to make my ROM i will be using the vogue kitchen tools and dog guys kitchen for the Titan. i know in porting the sys folder you have to change the addresses in G'reloc i figure you must do the same in M' reloc. so if this is the case how do i go about finding the addresses of both xip.

!Aman!
31st July 2008, 08:16 PM
ok i have read this over and over and i think i can accomplish it but i will report back if i have any troubles one thing i do see i might have a poblem with is that i wont be using build os and package tools to make my ROM i will be using the vogue kitchen tools and dog guys kitchen for the Titan. i know in porting the sys folder you have to change the addresses in G'reloc i figure you must do the same in M' reloc. so if this is the case how do i go about finding the addresses of both xip.
use M'reloc on the modules of the original xip and you will get the values which need to be changed in new xip modules.

{SBR}_L3GION
31st July 2008, 08:36 PM
use M'reloc on the modules of the original xip and you will get the values which need to be changed in new xip modules.

thank you very much i will be working to see if i can get this thing ported today.

do i have to run the M'reloc on each file in the modules folder.

Ameet
1st August 2008, 11:19 PM
do i have to run the M'reloc on each file in the modules folder.
Thats a lengthy process. Easier is to replace all modules from MSXIPKERNEL & MSXIPKERNELTLK and directly start cooking. Bepe's & Ervius's kitchen automatically relocates the module addresses

{SBR}_L3GION
1st August 2008, 11:35 PM
Thats a lengthy process. Easier is to replace all modules from MSXIPKERNEL & MSXIPKERNELTLK and directly start cooking. Bepe's & Ervius's kitchen automatically relocates the module addresses

how do i cook with that i would love to cook with that because has so many more options.and where do i put the original xip so that it has a reference.
im trying to port for a cdma vogue and a cdma titan.

Dragonet
2nd August 2008, 08:06 PM
I still do not know why we should port SYS or XIP,anyone can give me a brief explanation???

!Aman!
2nd August 2008, 08:09 PM
I still do not know why we should port SYS or XIP,anyone can give me a brief explanation???
lol, it is a way of using the operating system (usually new version, but old version can also be) from other phones to your phone.

Ameet
2nd August 2008, 09:50 PM
how do i cook with that i would love to cook with that because has so many more options.and where do i put the original xip so that it has a reference.
im trying to port for a cdma vogue and a cdma titan.
Brother, this is the max I can get the info to you, unless if anyone else wants to do the honors. You need to go through the foums and read a lot to learn, read in the elfin and vogue forums :)

Waiting to see a cool new ROM from you someday

{SBR}_L3GION
2nd August 2008, 10:52 PM
Brother, this is the max I can get the info to you, unless if anyone else wants to do the honors. You need to go through the foums and read a lot to learn, read in the elfin and vogue forums :)

Waiting to see a cool new ROM from you someday

thanx for your help man im going to keep tryin and hopefully you will see some awesome ROMs come from me soon i love doing this stuff and this is the most difficult thing i have done yet but it will pay off one day.

lennysh
4th August 2008, 03:37 PM
Can somebody please attach buildxip.exe to a post for me?

Also, there are Titan and Vogue kitchens already on PPCKitchen.org's website. Apache as well... Others soon....

!Aman!
4th August 2008, 03:53 PM
Can somebody please attach buildxip.exe to a post for me?


here u go :)

{SBR}_L3GION
5th August 2008, 05:59 AM
Can somebody please attach buildxip.exe to a post for me?

Also, there are Titan and Vogue kitchens already on PPCKitchen.org's website. Apache as well... Others soon....

i do understand there is kitchens already up for these 2 devices but i would rather learn how to do this stuff myself so that i dont have to rely on others to do the work for me and also i would like to start providing a service to the community.

Noonski
6th August 2008, 12:04 AM
Even though i didn't need to because of the kitchen i use.

I still set out to reallocate the modules manually.

And then i came to the initvmmap.exe

I had to change it to 00012000 from 00013000

But everytime i clicked Do it!

It went back to the 00013000 ? It didn't do this on any of the other modules (up till now).

Let me continue doing my own XIP Port ;)

lennysh
6th August 2008, 02:15 AM
here u go :)Thanks, but that one doesn't work for me either... Guess I'll go back to Xipport, and leave this XIP Kitchen to be completed another day...

Noonski
6th August 2008, 02:25 AM
Thanks for the xip.bin.

I think i managed to glue it together. At first i was abit confused. and was getting ahead of myself. But took the time and i didn't brick my phone.

Now running new Diamond XIP.

And i can even see some damned improvements. A few items just after reboot seem faster.

But Top Start Menu Bar is showing during the First Splash screen right after Flash.

Your Tutorial has just made me an even more dangerous man.

Nice working with you.

lennysh
6th August 2008, 03:09 AM
Thanks for the xip.bin.

I think i managed to glue it together. At first i was abit confused. and was getting ahead of myself. But took the time and i didn't brick my phone.

Now running new Diamond XIP.

And i can even see some damned improvements. A few items just after reboot seem faster.

But Top Start Menu Bar is showing during the First Splash screen right after Flash.

Your Tutorial has just made me an even more dangerous man.

Nice working with you.To fix the start bar showing at boot, replace services.exe with one from an older "working" build...

Ameet
6th August 2008, 04:48 AM
To fix the start bar showing at boot, replace services.exe with one from an older "working" build...
Hey Lenny, you beat me to it. Aman told me about this and I used the services.exe from 19951 Diamond build. This worked out well :)

lennysh
6th August 2008, 04:55 AM
Hey Lenny, you beat me to it. Aman told me about this and I used the services.exe from 19951 Diamond build. This worked out well :)Bad thing is, this is not a fix. Or a patch. It's a bandaid. We need to compare the two files to find out what changed that is causing this issue, so we can start patching the newer builds.

!Aman!
6th August 2008, 05:09 AM
Bad thing is, this is not a fix. Or a patch. It's a bandaid. We need to compare the two files to find out what changed that is causing this issue, so we can start patching the newer builds.
i wonder how do u plan to compare the two files :rolleyes:?

PS: all these newer builds are coming initially for VGA devices, so i believe microsoft is developing them mainly for VGA and not QVGA which is leading to small bugs like the one mentioned above. the newer dll's & exe's may be more suited to the VGA devices than our QVGA devices.

MickyMax
6th August 2008, 11:13 AM
To fix the start bar showing at boot, replace services.exe with one from an older "working" build...

Thanks, I've the same problem. I'll test this. :cool:

lennysh
6th August 2008, 11:17 AM
i wonder how do u plan to compare the two files :rolleyes:?

PS: all these newer builds are coming initially for VGA devices, so i believe microsoft is developing them mainly for VGA and not QVGA which is leading to small bugs like the one mentioned above. the newer dll's & exe's may be more suited to the VGA devices than our QVGA devices.You'd think this yes, but, I think I also have this bug on my VGA device... I'll double check...

!Aman!
6th August 2008, 11:22 AM
You'd think this yes, but, I think I also have this bug on my VGA device... I'll double check...
i see...even if this bug exists for VGA devices, how can we find the problem with the newer builds?

lennysh
6th August 2008, 12:28 PM
i see...even if this bug exists for VGA devices, how can we find the problem with the newer builds?Well... It's like this... I know a dev that fixed a contrast bug newer builds were doing on the Axim. He did this by comparing a working GWES.EXE and a non-working GWES.EXE. There was also a menu bug with overlaying that he also made some slight changes to that file to fix that. As with the contrast bug, he found a hidden call for a registry entry. Once we now set that registry entry, no more contrast problem on boot. So I think if the Axim does indeed have this bug, I'll get him to do his magic. :cool: Then we can see about designing an app or something to do this on future builds if he happens to fix. Even if this bug isn't on the Axim, I have 2 PPC phones that I know one of have this bug. So I'll still get him to do it. :cool:

lennysh
6th August 2008, 12:37 PM
Also, I'm trying to start an IRC chatroom for experienced developers/rom cooks for HTC devices only. Sorta a private chatroom where we could discuss things like this, fix them, then post them to forums... Just PM me if you want the details... This will also help us I think all stay current with the newer builds... I have several friends that I'm also gonna try to get in there... You'll definitely recognize them when you see them...:D

MickyMax
6th August 2008, 04:08 PM
Why private chat ? The goal is'nt to share tips about cooking ?

lennysh
6th August 2008, 04:20 PM
Why private chat ? The goal is'nt to share tips about cooking ?That took a lot longer than i expected... The idea is to compile the right ideas together, then post...with better how-to's.... less posting, yet get more accomplished... with a single post...

Nixeus
6th August 2008, 10:09 PM
Hello !


I have ported the last SYS ( 20273) issue from the Diamond to my Touch !
I have ported the DPI in 96 !

Nevertheless, the Windows Live Messenger don't function :(
When i'm trying to connect, i have a error message :

" Unable to Connect, Try to verify that then reception is good"

Anyone have a Windows Live Messenger which i can integrate on my wm6.1 ROM ?

Great thanks for all :)

Noonski
7th August 2008, 11:14 PM
You have to create your own .lnk files.

These days i'm alergic for those.

MickyMax
8th August 2008, 08:27 AM
I've successfully ported the 20273's windows live to my french ROM. I'm using the DPI from the 19212 build and the others files from the true 20273.

Take a look at the OEMMisc rgu which has changes... ;)

!Aman!
8th August 2008, 08:32 AM
Take a look at the OEMMisc rgu which has changes... ;)
it would have been better had u mentioned that registry value alongwith its correct value rather than creating a mysterious situation :D

MickyMax
8th August 2008, 09:29 AM
Here's the new value. It's only the URL which has been modified.

[HKEY_LOCAL_MACHINE\Services\Windows Live\Platform\Passport]
"Policy"="https://http.mws.mobile.live.com/2006/10/MWP2007_02/SecurityPolicy/Default.aspx"

Nixeus
8th August 2008, 02:00 PM
Great thanks for all your help, i will try your advice ! Gret thanks :)

Nixeus
9th August 2008, 12:21 PM
Great thanks to your file Noonski, it function !
Nevertheless it is the 10.6.34.800, do you have a more recent version ?

Great thanks :)

Noonski
9th August 2008, 05:37 PM
Ha,

Right back atja Ameet.

Since you added XIP porting to my curriculum.

Ameet
12th August 2008, 03:37 PM
Will update this thread shortly with updates on porting guides. Also going to add the .CPL guide for porting newer Diamond / Raphael & Xperia ROMs :)

lennysh
12th August 2008, 03:39 PM
I found a good detailed guide to XIP porting on a Chinese site (bbs.xbeta.cn) by the user ganfan a while back.. I decided to go and translate it for us to English. It has pictures and all. So if anybody would like to see it so far, the link is:

http://wiki.htcgeeks.com/index.php5?title=HowToPortXIP

I'm still working on the wording of it, so it'll be constantly updated for a lil while. Feel free to help out on it if you wish.

Ameet
12th August 2008, 03:47 PM
I found a good detailed guide to XIP porting on a Chinese site (bbs.xbeta.cn) by the user ganfan a while back.. I decided to go and translate it for us to English. It has pictures and all. So if anybody would like to see it so far, the link is:

http://wiki.htcgeeks.com/index.php5?title=HowToPortXIP

I'm still working on the wording of it, so it'll be constantly updated for a lil while. Feel free to help out on it if you wish.
:) I'll test your guide and report the outcome :D Will update mine if the physical RAM addresses can be change

!Aman!
12th August 2008, 03:48 PM
very nice lennysh :)

lennysh
12th August 2008, 06:11 PM
very nice lennysh :)I'm no where near completely re-worded it yets. Tis why I'm asking anybody that knows the process to help out if ya can. Main reason I added it to a Wiki... :D

raykisi
14th August 2008, 08:31 PM
Hi,
i want to ask how to use the "XIP port" option in Ervius's Pkgtools V4.3b1, coz after i use dumperrom.exe to dump the xip.bin and put all the file in the "New XIP" folder and press "Port It", the program showed an error msg, "Error Finding OEMXIPKERNEL package, try porting all modules manually!!! Why is that? and i could i resolve it?

Ameet
14th August 2008, 08:36 PM
Hi,
i want to ask how to use the "XIP port" option in Ervius's Pkgtools V4.3b1, coz after i use dumperrom.exe to dump the xip.bin and put all the file in the "New XIP" folder and press "Port It", the program showed an error msg, "Error Finding OEMXIPKERNEL package, try porting all modules manually!!! Why is that? and i could i resolve it?
What exactly do you mean by "put all the files"? Do you have the OEMXIPKERNEL modules and files? Dumprom creates files and not modules. To use Ervius's kitchen for porting you will need modules. I suggest you use XIPPort tool and go as guided since it also needs your original OEMXIPKERNEL

raykisi
14th August 2008, 08:48 PM
After i use dumprum.exe to dump my xip.bin, i have a XIP folder which contain subfolder like busenum.dll, cachefilt.dll, cecompr.dll, ceddk.dll.........

Or can u tell me wht exactly i should put in the "New XIP" folder, like wht structure should the folder be as when i use XIPPORT.exe to dump XIP.bin the result folder structure is different from when i using dumprom.exe

Ameet
15th August 2008, 07:49 AM
After i use dumprum.exe to dump my xip.bin, i have a XIP folder which contain subfolder like busenum.dll, cachefilt.dll, cecompr.dll, ceddk.dll.........

Or can u tell me wht exactly i should put in the "New XIP" folder, like wht structure should the folder be as when i use XIPPORT.exe to dump XIP.bin the result folder structure is different from when i using dumprom.exe
Can you please refer to the pdf guide on first page? Answers to all these questions are in there

X-On
21st August 2008, 03:01 AM
Hello!

Since 19665 Diamond ROM's version, I always have the taskbar (top bar), with the windows' flag in the middle, appears during the booting of the device on top of the welcome screen (third boot picture).

Have anybody met this issue before?

I'll put a picture tomorrow for whom doesn't know what i'm talking about.

dsixda
21st August 2008, 03:08 AM
Hello!

Since 19665 Diamond ROM's version, I always have the taskbar (top bar), with the windows' flag in the middle, appears during the booting of the device on top of the welcome screen (third boot picture).

Have anybody met this issue before?

I'll put a picture tomorrow for whom don't know what i'm talking about.

I've seen this with a few cooked ROMs... it happens sometimes. it's fine.

X-On
21st August 2008, 03:41 AM
Okay but why am i the only one to have this issue? Is there a chance that a corrupted NBH file might give a wrong SYS folder?

Nixeus (aka CrashOver :p), did you manage to port this version without these issues?

MickyMax
21st August 2008, 07:57 AM
Try replacing "services.exe" (in OS I think) by the one of your old build... (96DPI) ;)

Ameet
21st August 2008, 08:03 AM
Try replacing "services.exe" (in OS I think) by the one of your old build... (96DPI) ;)
I started using the OS\services.exe from 19591 build :D It works

nosedive
21st August 2008, 03:36 PM
thanks for your great guide on porting xip and sys ... i finally got it working on my trinity and upgraded my kitchen to xip 20273 and sys 20273!!!
i'm really really happy :D
i'm now on xip 20275...

X-On
21st August 2008, 04:13 PM
Thank you!!!! It works like a charm!

Nixeus
21st August 2008, 04:52 PM
It appear that here is a new ce issue from the diamon, not the 20275, but the 20295. For the moment i will stay on the 20273 because it appera that the 20275 build consum 2mb in addition.

Nixeus
21st August 2008, 04:56 PM
The CE 20296 :) (not tested and ported for me, but if anyone could perfom benchamrk it will be great:) )

http://www.mediafire.com/?nnnlxbhfdsr

Ameet
21st August 2008, 10:06 PM
The CE 20296 :) (not tested and ported for me, but if anyone could perfom benchamrk it will be great)

Did you know there are these builds in the outside forum somewhere? :)
20276
205xx
207xx (AKU 1.4)
The newest Build is 209xx

:D

nosedive
21st August 2008, 11:29 PM
Did you know there are these builds in the outside forum somewhere? :)
20276
205xx
207xx (AKU 1.4)
The newest Build is 209xx

:D

so where to get these builds from??
i tried now 20275 for some hours and there seem to be performance benefit in 20275 over prev builds... (though 20275 need 2mb more ram)

nosedive
22nd August 2008, 11:27 AM
so where to get these builds from??
i tried now 20275 for some hours and there seem to be performance benefit in 20275 over prev builds... (though 20275 need 2mb more ram)

ported my 20296 over to 20275 but device is stuck on 2nd boot screen... any similar experiences to you??

!Aman!
22nd August 2008, 11:29 AM
ported my 20296 over to 20275 but device is stuck on 2nd boot screen... any similar experiences to you??
20976 ?? :D, must be 20296, isnt it?
can u tell us what files/modules did u change while porting it?

Ameet
22nd August 2008, 12:32 PM
ported my 20296 over to 20275 but device is stuck on 2nd boot screen... any similar experiences to you??
If you have downloaded the 20296 from Niki kitchen threads, then this MSXIPKERNEL in kind of incomplete. I mean this doesnt have fatutil.dll and a few others too. I'm trying to combine the missing modules from the 20275 build, but last night even with 20296 XIP and 20275 Core the ROM showed me 20273 Build SYS. Tonight I'm going to try and cook a ROM with full 20275 SYS & 20296 XIP. If this works out well, I'll upload my working XIP

lennysh
22nd August 2008, 01:00 PM
Just for the common knowledge, 20275 is fake. It's actually 20273 that has been hexed to be 20275. 20273 is still the newest build that I know of that is authentic. If I'm wrong, (read this on several Chinese, Russian threads) then please prove me wrong. I need something to do anyway. Seems all my devices (4 btw) are running 20273, and now I'm bored. Nothing to cook! :D

Ameet
22nd August 2008, 01:09 PM
Just for the common knowledge, 20275 is fake. It's actually 20273 that has been hexed to be 20275. 20273 is still the newest build that I know of that is authentic. If I'm wrong, (read this on several Chinese, Russian threads) then please prove me wrong. I need something to do anyway. Seems all my devices (4 btw) are running 20273, and now I'm bored. Nothing to cook! :D
Phew!! Thanks for the update brother. Looks like I just found my newer shipped ROM hookup :)

I'm going to revert back to 20273 build then :D

Nixeus
22nd August 2008, 03:58 PM
MMM i have perfrom benchmark with the CE 20273 and 20275 ( with the same SYS, and APPZ) and it appear that the result of the benchmark is not the same:)

20275 is better ! So i don't think that the 20275 is the 20273 !

kokotas
22nd August 2008, 04:20 PM
So i don't think that the 20275 is the 20273 !
I'm with you!
For further discussing,
does anybody believe that bepe would post a build that's fake?
I don't think so!Do you?

Regards!

Nixeus
22nd August 2008, 05:14 PM
I would like to find the xip.bin of CE 20295, because.ht 20295 ce here appera to be missing :s

nosedive
23rd August 2008, 11:04 AM
If you have downloaded the 20296 from Niki kitchen threads, then this MSXIPKERNEL in kind of incomplete. I mean this doesnt have fatutil.dll and a few others too. I'm trying to combine the missing modules from the 20275 build, but last night even with 20296 XIP and 20275 Core the ROM showed me 20273 Build SYS. Tonight I'm going to try and cook a ROM with full 20275 SYS & 20296 XIP. If this works out well, I'll upload my working XIP

did you succeed??
i did the same but in some way the xip does not work ... i got xip20273 and sys20273 running but xip 20296 does not work for me - i guess its why there are parts missing... i did not get the 20296 from niki kitchen, but if you search on google, there are some chinese threads you can get it from...

Ameet
23rd August 2008, 04:07 PM
did you succeed??
i did the same but in some way the xip does not work ... i got xip20273 and sys20273 running but xip 20296 does not work for me - i guess its why there are parts missing... i did not get the 20296 from niki kitchen, but if you search on google, there are some chinese threads you can get it from...
Yes succeeded right :) Attached the 20296 MSXIPKERNEL on post 3 (http://forum.xda-developers.com/showpost.php?p=2051340&postcount=3) Mix those modules with your OEMXIPKERNEL and you are ready to cook. Do the M'reloc id necessary :)

nosedive
25th August 2008, 12:40 AM
Yes succeeded right :) Attached the 20296 MSXIPKERNEL on post 3 (http://forum.xda-developers.com/showpost.php?p=2051340&postcount=3) Mix those modules with your OEMXIPKERNEL and you are ready to cook. Do the M'reloc id necessary :)

finally got it up and running
thanks for help! ;)

Ameet
25th August 2008, 08:15 AM
finally got it up and running
thanks for help! ;)
:) Happy cooking ;)

ayyu3m
28th August 2008, 09:53 AM
been working on hypercore v1.01 for a while. not so good at xip porting yet. but have downloaded the tools from 1st post.

staring at the pictorial. i sure am gettin error when i run the 1st command


C:\Users\ayyu3m\Desktop\HyperCore\Tools\XIP_extrac t>nbsplit -elf os.nb
NBSplit 2.0 RC 2
No supported device specified.
Usage: nbsplit -hermes|acer|sp|mpx200|emu <filename.nb>
This will generate <filename.nb.payload> and <filename.nb.extra>

Ameet
28th August 2008, 09:57 AM
been working on hypercore v1.01 for a while. not so good at xip porting yet. but have downloaded the tools from 1st post.

staring at the pictorial. i sure am gettin error when i run the 1st command


C:\Users\ayyu3m\Desktop\HyperCore\Tools\XIP_extrac t>nbsplit -elf os.nb
NBSplit 2.0 RC 2
No supported device specified.
Usage: nbsplit -hermes|acer|sp|mpx200|emu <filename.nb>
This will generate <filename.nb.payload> and <filename.nb.extra>


Aah!! You need to run nbsplit -kaiser os.nb ;) There's no -elf switch in the nbsplit

ayyu3m
28th August 2008, 10:45 AM
i tried that command cos -kaiser os.nb switch didnt work.

i m guessing its something to do with paths or file locations?

???

!Aman!
28th August 2008, 10:49 AM
i tried that command cos -kaiser os.nb switch didnt work.

i m guessing its something to do with paths or file locations?

???
first, get the latest tools. the latest version is 2.1 RC2, then use nbsplit -kaiser os.nb

nosedive
28th August 2008, 06:40 PM
i learned a lot in this 3d and i thank you all ... and i let you know if i find something new.. its brewing out there ... new xip and sys ready for cooking
see here
http://forum.xda-developers.com/showthread.php?t=421444
http://forum.xda-developers.com/showthread.php?t=402752

ayyu3m
28th August 2008, 06:42 PM
first, get the latest tools. the latest version is 2.1 RC2, then use nbsplit -kaiser os.nb


thankx htctouchp. its working now.

ayyu3m
29th August 2008, 12:32 AM
getting an error in M'Reloc

wrong value in o32_realaddr

??

Ameet
29th August 2008, 08:37 AM
getting an error in M'Reloc

wrong value in o32_realaddr

??

Yes. There are 2 modules which cant be reloced (dont know off hand which ones) But why manual relocing when Bepe, Ervius & Koko's kitchens can do it auto for you :rolleyes:

ayyu3m
29th August 2008, 11:42 AM
Yes. There are 2 modules which cant be reloced (dont know off hand which ones) But why manual relocing when Bepe, Ervius & Koko's kitchens can do it auto for you :rolleyes:
keke..i was following ur picture tutorial and didnt have second thoughts abt looking elsewhere..hehehe

great pictorial...i jus made myself familiar with commands...now to look into kitchens.

y_bother
7th October 2008, 09:58 AM
first really thanx :) and great done
just one simple question plz
when making the SYS folder... both folders have to be for the same device?
just to be sure

sorry if this question is asked before :)

Ameet
7th October 2008, 10:05 AM
first really thanx and great done
just one simple question plz
when making the SYS folder... both folders have to be for the same device?
just to be sure
:) I got me a visitor after a long time :D

Porting SYS means the SYS to be used is from a different device. Very simply to follow as a thumb rule would be the below scenario

Old SYS
SYS\Shell\shell32.exe
SYS\Shell\shellres.dll
SYS\OS\services.exe (this is required only to get rid of title bar showing at boot if SYS used from VGA devices)
SYS\.VM
SYS\WinCeNls_WWE

New SYS
Rest of whole folder :) and run G'reloc as mentioned in the SYS porting section

!Aman!
7th October 2008, 10:12 AM
SYS\OS\services.exe (this is required only to get rid of title bar showing at boot if SYS used from VGA devices)

i'm not sure if VGA devices are the culprits here. i've noticed this title bar even in shafez ROM which is from a QVGA device itself. and btw, we have been using 19591/19588 build's services.exe (for solving this issue) which are from VGA devices ;)

Ameet
7th October 2008, 11:16 AM
i'm not sure if VGA devices are the culprits here. i've noticed this title bar even in shafez ROM which is from a QVGA device itself. and btw, we have been using 19591/19588 build's services.exe (for solving this issue) which are from VGA devices ;)
Aah yes :) You right :D Since I lost my data I lost my head too :D

pfcsabre
4th November 2008, 05:37 PM
Probably trying my luck in posting in this thread than in Dev and Hacking thread :o

I've managed to do manual XIP porting from ababrekar's guide, and now doing SYS porting. I'm following this guide in assumption that it's almost the same for all devices. I had this instruction from the manual XIP porting:


Now put this OS.nb file in the ROM, put the boot.rgu from 19965 (shipped ROM) into the \ROM\XIP folder and do not include any of the OEMXipKernel or MSXipKernel folders in OEM & SYS folder while cooking


But here g'Reloc complains and is looking for some files in the kernel folders when I delete OEMXipKernel and MSXipKernel. So if I do manual XIP porting, do I delete the folders if not porting a SYS, or do SYS porting first, delete it and do manual XIP porting?

Ameet
4th November 2008, 06:16 PM
Probably trying my luck in posting in this thread than in Dev and Hacking thread
You probably misunderstood :) The XIP porting guide mentioned here is maybe as I would put it, is for those specific devices which are supported by the buildxip.exe tool. The guide (manual) is for devices which are not supported. You need to remove the MSXIPKERNEL & OEMXIPKERNEL foders from your SYS & OEM folders and then run GReloc

pfcsabre
4th November 2008, 07:44 PM
You probably misunderstood :) The XIP porting guide mentioned here is maybe as I would put it, is for those specific devices which are supported by the buildxip.exe tool. The guide (manual) is for devices which are not supported. You need to remove the MSXIPKERNEL & OEMXIPKERNEL foders from your SYS & OEM folders and then run GReloc

No I understood it correctly :D I like to do things manually first then think of automatic procedures later, this way I'll understand more of it :) Thanks for the tip, will try to do that now!

lennysh
4th November 2008, 08:17 PM
No I understood it correctly :D I like to do things manually first then think of automatic procedures later, this way I'll understand more of it :) Thanks for the tip, will try to do that now!My point exactly. This is why I luv my XIP Kitchen I made. Of course, you have to be able to do it manually first to make an XIP Kitchen. But now, anybody can do XIP. Or, will when it's releasable. It does everything automatically now. And werks perfectly 100% of the time. I just need to make some minor changes. But this is off-topic... l8tr!

Noonski
4th November 2008, 08:26 PM
Even if the default.hv and user.hv get recreated in Rom, i still like keeping the original default.hv and user.hv in the Metadata folder when porting another systems SYS folder.

Ameet
4th November 2008, 08:34 PM
This is why I luv my XIP Kitchen I made
Hey Lenny. Hope to see this soon for public release ;)

try
11th November 2008, 09:25 AM
:) I got me a visitor after a long time :D

Porting SYS means the SYS to be used is from a different device. Very simply to follow as a thumb rule would be the below scenario

Old SYS
SYS\Shell\shell32.exe
SYS\Shell\shellres.dll
SYS\OS\services.exe (this is required only to get rid of title bar showing at boot if SYS used from VGA devices)
SYS\.VM
SYS\WinCeNls_WWE

New SYS
Rest of whole folder :) and run G'reloc as mentioned in the SYS porting section

Dear AB,
its me again. I am trying to port the SYS 20924 from ELF to my Raphael. Sorry to post in ELF section but I cannot find it in Development section.
XIP porting was done with your help. Thank you.

I follow your suggestions above to port the SYS, but the device do not boot. it stuck on the red text (radio, protocol, etc)

So I re-try it from the beginning.

Use Raphael SYS as working base.
Replace all directories inside SYS with directories from SYS 20924 except:
All SYS\***DPI_96, I left the SYS\***DPI_192 since Raphael use VGA
SYS\.ROM
SYS\.VM
SYS\Base_Lang_0409
SYS\OS
SYS\ppgprov
SYS\Shell
SYS\SQM
G'Reloc,
This time I managed to pass onto next screen (Preparing your device for first use....).
But my device stuck there.


Any "light up" on what i was doing wrong?

TIA,

!Aman!
11th November 2008, 09:52 AM
So I re-try it from the beginning.

Use Raphael SYS as working base.
Replace all directories inside SYS with directories from SYS 20924 except:
All SYS\***DPI_96, I left the SYS\***DPI_192 since Raphael use VGA
SYS\.ROM
SYS\.VM
SYS\Base_Lang_0409
SYS\OS
SYS\ppgprov
SYS\Shell
SYS\SQM
G'Reloc,
This time I managed to pass onto next screen (Preparing your device for first use....).
But my device stuck there.


Any "light up" on what i was doing wrong?

TIA,
use those in red color from new SYS.

Ameet
11th November 2008, 10:02 AM
use those in red color from new SYS.
Also to add, ensure matching the .VM values from the original SYS through G'Reloc

try
11th November 2008, 10:28 AM
use those in red color from new SYS.

Actually, when 1st i try to port.
I was trying to replace everything with new SYS, except the one mentioned by Ababrekar:
SYS\Shell\shell32.exe
SYS\Shell\shellres.dll
SYS\OS\services.exe (this is required only to get rid of title bar showing at boot if SYS used from VGA devices)
SYS\.VM
SYS\WinCeNls_WWE
and gwes.exe (needed for VGA devices)

But it didn't boot, just stop in red R...D...G... screen

@Ababrekar
G'reloc maintain values from original SYS, as you mentioned in the guide.

I will try again tonight. In the meantime any help are really appreciated.

TIA and cheers,

!Aman!
11th November 2008, 10:38 AM
Actually, when 1st i try to port.
I was trying to replace everything with new SYS, except the one mentioned by Ababrekar:
SYS\Shell\shell32.exe
SYS\Shell\shellres.dll
SYS\OS\services.exe (this is required only to get rid of title bar showing at boot if SYS used from VGA devices)
SYS\.VM
SYS\WinCeNls_WWE
and gwes.exe (needed for VGA devices)

But it didn't boot, just stop in red R...D...G... screen

don't replace those. just use the new ones and then try.

Ameet
11th November 2008, 10:52 AM
@Ababrekar
G'reloc maintain values from original SYS, as you mentioned in the guide.

I will try again tonight. In the meantime any help are really appreciated.

TIA and cheers,
Try again with what Aman mentioned. Moreover just to clarify, Greloc doesnt have values from original SYS but it determines them from the .VM module so first run the tool on your original sys and then run again on the new sys to match those values ;)

try
14th November 2008, 03:44 AM
Thanks guys,
Definitely will try again as your suggestions. But now I am in business trip for 1 week. Soon as I return I will try and let you guys now the progress.

TIA,

robertus3d
4th December 2008, 08:47 PM
Hi guys, great work, but a question for you!
I've ported Sys 20931 in my rom, except .Vm folder, shell32.exe and shelres.dll.
I cook it but at startup it gave me tmail error and any type of messages doesn't work also IE...
Some idea or tips!
Great work also with Xip porting!;)

qsqa
4th December 2008, 10:09 PM
Hi guys, great work, but a question for you!
I've ported Sys 20931 in my rom, except .Vm folder, shell32.exe and shelres.dll.
I cook it but at startup it gave me tmail error and any type of messages doesn't work also IE...
Some idea or tips!
Great work also with Xip porting!;)

Maybe I'm noob but you should take from original SYS also shellres.192.dll (in QVGA it will be shellres.96.dll) and shellres.dll.0409.mui ...

robertus3d
6th December 2008, 03:19 PM
Ok I've solved my porting Sys, all works correctly but I've still 1 bug, data connection by my operator don't work!:mad:
I can download data by wifi or sync pc, I've try 2 o 3 simcard, but nothing!
I've ported new Sys folders except old .Vm, .Rom, shell32.exe, shellres.dll, services.exe, ppgprov and Sqm folder from my rom!

jeesus123
13th December 2008, 12:21 PM
I also have problems with porting sys to raphael, I used latest AT&T rom as base and took 20931 SYS files from ppkitchen buidOS software.

Usually it hangs on boot with radio and rom details. Can someone post short tutorial how to really port SYS on Touch pro.

thanks in advance.

adonix
15th December 2008, 03:05 AM
Hello,

First, excuse me for posting in Elf's section since i own an eten x800 device. I'm trying to port wm6.1 to my device. I have succeeded to port wm6.1 from eten x900 (xip and sys) but i'm unable to port sys to my device from any HTC device.

I have followed the steps found in this thread, but no success, the device hangs on boot screen. What i have noticed is that i'm able to start the device once in replace the entire OS folder in sys from older version. But the device is so buggy and it gives lots of error messages.

what i did is:
Keep : .VM, .ROM, ppgprov, WinCENLS_WWE, SQM, shell32.exe, shellres.exe & services.exe
Replace all files (same dpi and resolution)
that didn't work unless older OS folder was kept


Any ideas please?

Thanks

Nixeus
22nd December 2008, 12:34 PM
Hi my friend,


I need a little help !
I have no difficulties to port SYS folder !

But, with the new SYS folder 20764 issue from the BLACKSTONE, i have difficulties !

If i Replace .VM, .ROM and wincelens, the romm boot, but with the BIG logo, it's normal because the blakstone is in DPI 192.


Next, i replace all the folder *192* , i build my rom, and then, after the first bootscreen ( the htc bootscreen), there is the " bip", and i can see no welcomescreen, and i cannot to continue !


Have someone any help to this probleme ?

How porting this SYS in DPI96 ?

Great thanks my friend :)

regards,


Nixeus

!Aman!
22nd December 2008, 12:37 PM
did u cook a protected ROM?

Nixeus
22nd December 2008, 03:54 PM
Hi,

Yes i cook protected rom, but i can cook non-protected rom, why ?

!Aman!
22nd December 2008, 04:08 PM
which kitchen did u use? Ervius' or bepe's?

Nixeus
22nd December 2008, 04:18 PM
It's a kitchen named "Execute", it's a french kitchen.
I used it since 10month and no problem :s

Nixeus
22nd December 2008, 04:35 PM
Do you think that i need to test with another kitchen, ervius ? or bepe ?
Thanks :)

!Aman!
22nd December 2008, 05:09 PM
yeah, try bepe's or Ervius' kitchen.

sleurhut
31st December 2008, 09:06 PM
yeah, try bepe's or Ervius' kitchen.

It is not the kitchen.

I had it working and now i cant do it againg.

I have now the same pronblems

beep at startscreen but i cant see the allign stuff. It must something simple.

!Aman!
31st December 2008, 09:14 PM
It is not the kitchen.

I had it working and now i cant do it againg.

I have now the same pronblems

beep at startscreen but i cant see the allign stuff. It must something simple.
check if all of the provxml's have +r & +s attributes. then also try after making the attributes of all the rgu's/dsm's etc as +a -r -s -h

Garfiel
9th January 2009, 01:30 AM
Hello
I'm trying to carry a 21,009 SYS to Raphael. And I get an error "poutlook.exe. I tried to change the original file, but even so, it still gives me the same mistake.
That is what I am doing wrong?

Thank you

Noonski
9th January 2009, 01:52 AM
Hello
I'm trying to carry a 21,009 SYS to Raphael. And I get an error "poutlook.exe. I tried to change the original file, but even so, it still gives me the same mistake.
That is what I am doing wrong?

Thank you

Skip the 21009 SYS, Go around the forum and roms with that Sys and you will find quite some issues Popping up.

Nokser
4th February 2009, 09:21 AM
Tell me how to do that in the SETTINGS options are all about and with the like ... in 21139 THX

sheennick123456
11th February 2009, 07:56 PM
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 ??

Ameet
12th February 2009, 06:44 AM
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 ??
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 :)

dirtytwo
4th March 2009, 01:43 PM
Thanks for the guide ameet.

seeya

dsixda
4th March 2009, 04:16 PM
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.

Ameet
4th March 2009, 05:50 PM
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.
Feels great to cook like Bepe's old kitchen :D

!Aman!
4th March 2009, 06:02 PM
Feels great to cook like Bepe's old kitchen :D
haha, i know why u are saying that ;)

stevenh78
10th March 2009, 11:22 AM
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

stevenh78
14th March 2009, 04:07 AM
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

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

niceguy001
25th April 2009, 03:56 PM
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.

Nixeus
7th June 2009, 12:48 PM
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 !

+ Que PPC
21st June 2009, 08:53 AM
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.

humrod
23rd June 2009, 08:19 PM
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.

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!

kancrutt
6th August 2009, 09:12 AM
everybody have ported XIP/SYS for Elf from WM6.1 latest build?
thanx in advance

muhrizky
15th September 2009, 10:36 PM
Amazing tutorial you have here. Thank you mr. Ameet :)

suiller
2nd February 2010, 03:33 PM
very nice tutorial, useful & plenty of "must known" info :cool: