yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] voided:
Wow. That was fast:eek:!

This is what I did...

I downloaded the file "XIP__19209_.bin" provided in the #1 post of this thread.

Use dumprom as decribled in the guide to generate the new "romhdr.bin" and XIP dump files

Copied the the new "romhdr.bin" and overwrite the existing one in the kitchen's ROM folder.

Rename the new XIP dump folder as "XIP-19209" and copy into the ROM.

I made a backup copy of the org XIP in the folder XIP-19199. So now the ROM folder looks like this

ROM

L XIP <====(19199 XIP)

L XIP-19199 <====(19199 XIP)

L XIP-19209 <====(19209 XIP)

L etc.

Then I used Ervirus's PkgToolsBuildos to extra out the packages "MSXIPKernel" and "MSXIPKernelLTK" onto the desktop from the "XIP-19209" folder.

I copy all the files extracted from these 2 packages and overwrite those in the folder "XIP" folder

Last, I used M’Reloc tool to check the modules addresses from "XIP-19199" folder with those loaded in "XIP" folder

Hope you understand what I have describled... Thanks in advance!
[Touch GSM ROM Development] !Aman!:
dont do this, use the original romhdr.bin given in bepe's kitchen. and try not to keep any backup in ROM folder. so finally u should have only XIP, original payload and romhdr.bin inside the ROM folder.

PS: u dont need to use m'reloc. buildxip.exe in bepe's kitchen does that automatically for u. so u just need to replace the files n modules in msxipkernel and msxipkerneltlk folders. try this and let me know if u still get problems.
[Touch GSM ROM Development] voided:
I have done as suggested above.. Now my elf display a white screen. The backlight of the screen keep switching between high brightness and lower brightness ramdomly... The LED lights on the handset does not blink at all... :confused: This is getting stranger... :(
[Touch GSM ROM Development] !Aman!:
ok...proceed like this...

1. dump new xip.bin with xipport.exe and chose to make packages.

2. from msxipkernel and msxipkerneltlk folders inside files and modules, copy everything and paste in original 19199 xip folder, overwriting existing files/modules in it.

3. dont change anything else, just build ur ROM
[Touch GSM ROM Development] voided:
I'm using the "XIP__19209_.bin" from the first post in this thread. Can you suggest a link to a dumpable rom that is using XIP:19209? Thanks

For got to menstion... The SYS I'm using is already ported to version 19209. I have tried to flash the rom with SYS:19209 and XIP:19199 and it works. I'm encountering this problem when I'm porting the XIP to 19209... Thanks again!
[Touch GSM ROM Development] !Aman!:
hmm, actually 19209 is quite an old build and its better if u try some new xip. i'm attaching xip.bin of 19591 build taken from latest diamond ROM. try ur hands at this using the way i just told u.
[Touch GSM ROM Development] voided:
Thanks htctouchp! You are the man!:) I'm manage to do it! Hm.. is it there's something wrong with the XIP:19209 or did I do something wrong? Well, it's already 0210 am here and I can hardly keep me eyes open... I'll try my luck again on 19209.. Thanks again htctouchp!
[Touch GSM ROM Development] !Aman!:
i have not tried porting from that xip.bin, so i guess there might be some problem with that 19209 xip.bin that u didnt succeed at first. but ababrekar has used this xip.bin before, so may be he can help with that.
[Touch GSM ROM Development] voided:
Bluetooth, Camera and poweroff button not working...

Hi pple,

I have been trying to locate the solution for the above problem in the forum but no luck. Can any kind soul please kindly point me to the correct direction? Thanks in advance!:)
[Touch GSM ROM Development] Ameet:
hmm.. voided, can u pm or post ur exact steps and what messages u get while porting and dumping the xip? the xip.bin i posted is working fine. once i get to know these details, i can help u out in porting. if possible post screenshots too so its easier :)
[Touch GSM ROM Development] voided:
Here you go and with screenshots! For your information, I'm using Bepe's kitchen. According to preivous post, I understand that M'Reloc.exe is not needed as his kitchen does that automatically(Thanks Bepe again!). The version of SYS i'm using is the orginal one that comes with the kitchen(SYS:19199, XIP:19199)

When I tries to activate the Bluetooth in Comms Manager, I will see the hourglass for about 10sec. But at the end of it, nothing happen. The Bluetooth still show disabled.

For the Camera, when I press the camera button, nothing happened. No hourglass, no error...

For the Power button, when I press and hold the phone will not prompt me if I wanna shutdown the phone. However if i just press and release, the LCD still switch off...

When I go into "Start" >> "Settings" >> "Personal" >> "Program Buttons", i realised that the list of programmable button are all blank. Maybe, that's the reason my camera and power button does not function....

Thanks in advance again!!!
[Touch GSM ROM Development] !Aman!:
which OEM did u use? ur xip porting cant be a problem.
[Touch GSM ROM Development] voided:
The OEM that comes with the Bepe kitchen. It is managed that I'll need to add in the Camera, bluetooth part ourself in the post here: http://xdaforums.com/showthread.php?p=2000838&highlight=found+it!+pls+ignore+querry#post2000838. But I have no idea how...
[Touch GSM ROM Development] !Aman!:
well thats the problem. get a shipped ROM first, dump it and take the OEM out of it. replace OEM in bepe's kitchen with this one. if u want u can remove packages from the new OEM according to ur liking. that should do it ;)
[Touch GSM ROM Development] voided:
I have overwrite my OEM with the OEM extracted form this rom: http://www.dopodasia.com/download/RU...GREEN_Ship.exe But my phone just stuck at the startup logo ...:(:confused:
[Touch GSM ROM Development] !Aman!:
ur phone is elf or elfin? download these OEM packs, unzip and put them in ur SYS folder. use the old OEM given in bepe's kitchen and recook.

http://rapidshare.com/files/101808684/Camera_4.0.build_28276.rar

http://rapidshare.com/files/101808448/BT_Explorer_1.2.rar

and u may also try this OEM:

http://rapidshare.com/files/101963854/OEM_Pack.rar
[Touch GSM ROM Development] voided:
Tried all but none of these helps...
[Touch GSM ROM Development] Ameet:
say. nice screenshots :D ur xip porting was not a problem. did u copy and paste the WinCENLS_WWE folder from XIP to SYS? if yes then, also post the steps u took to port the SYS. I think there might be a problem with the SYS porting

i hope u did fill up the OEM folder with ur drivers and languages and the OEMAPPS too
[Touch GSM ROM Development] voided:
I suspect I did this part wrongly.. I can't find any posting describling how his is being done... This is what I did..

I extract OEMDrivers from http://www.dopodasia.com/download/RU...GREEN_Ship.exe and overwrite the OEMDrivers in my Kitchen...

Are you able to decrible in detail how this should be done? Thanks!
[Touch GSM ROM Development] Ameet:
no wonder ur device isnt booting well.. u cant use oemdrivers from other rom.. u need those from ur own device or keep the folder from bepe's kitchen.. he's kept that folder neat n clean

moreover, for sys porting, u need the .vm, shellres.dll & shell32.exe (from shell) from ur device to port for it properly.. if u using bepe's or ervius's kitchen then u dont need to do greloc.. its done auto

post the link from where u got this shipped rom.. ur link is incomplete
[Touch GSM ROM Development] voided:
Hm... The shipped rom I use is actually meant for my device. It should be fine that I just copy over the OEMdrivers right? Or am i wrong again... :o

Will redo my SYS Port again.. Taking special attention on the points your highlighted. But weekend has ended, bad to normal life again:(. I'll tried again when I have time in the evening or the weekend. ;)

This is the link:): http://www.dopodasia.com/download/R...1.17.707.2G_4.1.13.46_02.97.90_GREEN_Ship.exe
[Touch GSM ROM Development] Ameet:
Are you sure this is for Elfins? Check this link here & see the screenshots. I dont know if this matter between Elf & Elfins but just to be on safer side use an Elfin ROM (Maybe this Here) This one is my original dumped ROM that came shipped with my factory Elfin

do that and post the results :)

like mentioned above ;)
[Touch GSM ROM Development] cruzzmz:
Pay attention to WinCENLS_WWE & .VM .... u can use other dev SYS folder but do use the original WinCENLS_WWE & .VM ....

also if u still stuck, maybe when u ported the xip there r still conflicts in the modules ... pls see MAP.TXT if u use xipport & searched for the !!!!! in the txt.

As for me, last time my dev did stuck at the 1st boot although i have put the ringht files in my SYS ... maybe my porting is still off :(
[Touch GSM ROM Development] Noonski:
Even though some kitchens rebuild the DSm files.

Sometimes a conflict can arise with combining or changing certain .DSM files.

Also resulting in Freeze at first Bootscreen.

Don't know exactly why but i'm pretty certain that some DSM files are better left untouched.

But this probably has nothing to do with your findings.
[Touch GSM ROM Development] voided:
Oophs my wrong.. I'm think I forgot I'm using HTC Elf.. The 128/64mb version.. Sorry.. Sorry.. So is that reason my bluetooth and camera is not working? Anyone knows how to make it work? :o
[Touch GSM ROM Development] Ameet:
using the correct oem will make it work brother :) and also correctly porting the sys and xip helps
[Touch GSM ROM Development] !Aman!:
Get Rid of Managed Programs

was just wondering if someone is unable to get rid of this useless component in WM 6.1, so i thought to share how did i remove it. Managed Programs lies in the Fwupdate folder of SYS. there is historyui.cpl control panel applet responsible for this. to remove Managed Programs i've replaced the fwupdate folders of wm 6.1 with folders from WM 6 as deleting them alltogether causes problems in booting. i guess we can also experiment by just removing the historyui.cpl from Fwupdate, but i have not tested it.
[Touch GSM ROM Development] Ameet:
i deleted the cpl module from fwupdate and it did get rid of the managed program :D tried, tested and using very nicely :)
[Touch GSM ROM Development] !Aman!:
why i replaced whole of the folder was coz its useless and is only used for autoupdate functions.even other new components in it are uselss. rather i wish we should be able to remove these 2 folders all together :D
[Touch GSM ROM Development] Ameet:
i think there's some dll module that may need patching for the fwupdate folder to be removed all together.. just like the patched custdll for removing sqm :)
[Touch GSM ROM Development] !Aman!:
would u be kind enough to take that responsibilty brother :p?
[Touch GSM ROM Development] Ameet:
:eek: :eek: :eek: no... i dont know anything about patching dll files. never traded in that part of the world brother.. but m sure some expert will be doing the honors :)
[Touch GSM ROM Development] spocky12:
Hi,

I desperately need the help of xip porting experts for my work.

I'm about to cook the first real lg ks20 rom (htc tools for extracting imgfs.bin/xip were not able to extract them because of another rom format, so a friend and I had to build new tools to do that).

As for now, I managed to extract those files (boot, imgfs, xip...) and rebuild them back into a lg bin rom.

I also successfully dumped imgfs, modifed it by adding packages and changed localization files (using Ervius Pkgtoolsbuildos). The new rom was still ok.

I'm now trying to jump from wm6 to wm6.1 so I followed the guides found on xda :

- dumped xip using lasted dumprom (32k version) which also generated a romhdr.bin.

- extracted packages msxipkernel & msxipkerneltsk from bepe's kitchen and updated my xip dump

- rebuilt xip with buildxip.exe

- also ported new sys folder and rebuilt using Pkgtoolsbuildos.

But as you may imagine, my phone won't boot (it displays lg logo, then vodafone logo, then again lg logo and stalls here).

I first thought I made a mistake when copying wm6.1 files, so I tested just dumping my own original xip using the previous method and then immediately rebuilding it. But it won't boot either :( so wm6.1 port is not the problem. When I dump my "original rebuilt xip" and the use a diff tool against the real original folder, I can see that imageinfo are different (in some files 032[x]_realaddr are different).

1- I thought buildxip was taking care ok mrelocking files. Is it normal that dumping and then rebuilding a xip using previous method causes differences in 032[x]_realaddr values (maybe it's just due to the building files order) ?

2- Could it be that I need to use a special parameter with buildxip ?

3- Is it possible that buildxip has some htc hardcoded values in it that don't match lg values (I think of things like sector size that is 2048bytes with lg and only 512bytes on htc if I remember correctly) ?

4- Is there another tool that I could use to rebuild xip and that may not show this issue ?

Thanks for you help
[Touch GSM ROM Development] Ameet:
hi spocky.. can u post screenshots of the errors you are getting? i think it will be easier for us to help u especially when u r trying to port for a device other than elf
[Touch GSM ROM Development] boggsie:
ababrekar:

Thank you very much for taking the time to share this knowledge. I am finally going to earnestly pursue porting the diamond wwe/ruu (19591) into the latest vogue (3.07/19208).

I am looking at the first post and see the following tools:

... as I proceed to use dumprom.exe, I realze that the most excellent pdf guide you have put together (again, thank you) clarifies that a 32k version of DumpRom.exe is necessary to proceed.

I am not able to locate a 32k version of DumpRom.exe. Is this version of DumpRom available here in xda? I searched google using: "site:xda-developers.com dumprom bepe 32k" and with that search criteria, I get very few hits and none of those matches include a download.

Thank you again for your time and your effort.

Best regards,

-boggsie
[Touch GSM ROM Development] !Aman!:
here u go mate ;)
[Touch GSM ROM Development] boggsie:
Ah, so nice - thank you!

Best regards,

-boggsie
[Touch GSM ROM Development] cruzzmz:
Try using a tool named Xip Address tool ... the how to is simple,

1. replace the File & Modules folder msxipkernel & msxipkerneltsk of new to old xip

2. open xip address tool

3. Sel the work folder (new xip) & Sel. ref folder (ori xip)

4. on the yellow boxes, press spacebar the mreloc will be done auto here

5. Check for conflict addresses in all tabs

after those steps above, I usually do these

6. use xipport to undo, Preloc & map

7. open map.txt & search for "End: highest physical address address" than

open romhdr.TXT & change : physlast address, ulRAMStart address, ulRAMFree address

8. search for any modules conflict usually have !!!!!! in MAP.TXT

9. change the address manually using mreloc & imageinfo.txt

10. hex nk.exe in modules with the correct offset found in MAP.TXT

"802feb68 - 802febbc L00000054 rom_00 header: dlls=01f901fd-02000000 phys=80180000-8040b4fa, 25 modules, 10 files, 2 copyentries ext=8018265c ram=8040c000-83c00000 cputype=000001c2"

regards
[Touch GSM ROM Development] tasomh:
@spocky12

i´m searching for an ks20 wm6.1 upgrade for about 3 hours now and luckily i found your post here. so...good luck! and pleeease share your result if you are successfull :)
[Touch GSM ROM Development] Jerrytish:
wow !what's tish? I don't konw.:rolleyes:
[Touch GSM ROM Development] cruzzmz:
hd.dll & osaxst0.dll are to be deleted since it is not that useful

i have encountered exception error wz xipport ... an in not enough memory ... that can be fixed by changing the romhdr.txt ... lastpsy, ramstart, ramfree
[Touch GSM ROM Development] spocky12:
Thanks cruzzmz, as a first test, I've just rebuilt my original xip without hd.dll & osaxst0.dll and it boots :cool:

Now, here are some more issues :

1- Last issue with Xip Address Tool is about filesys.exe that doesn't want to change from 0004b000 to 0004a000. What should I do ?

2- Now trying to port wm6.1, as you said, I've got a "not enought space" message. How to change romhdr.txt (what shoud I put in lastpsy, ramstart, ramfree)? Couldn't find someting clear about it on the forums.

3- As an alternative, I've read that I should copy my own xip "WinCENLS_WWE" into the ported SYS. Shoud I copy it or move it (another way of saying this is : should final xip contain WinCENLS_WWE or not ?). Cause if not, if I remove WinCENLS_WWE from xip, there is enough space to do reallocp without error message.

4- But then again, clicking on Maps causes another exception : "an entry with the same key already exists". It seems to be related to the 2 new files that were not on my xip before (initmap.exe & mencfilt.dll). What should I do to have xipport accept them ?

5-Just for information. I've got another package called "LangDB" in my xip. Is it needed or may it cause problems when porting ?

6-About Xip porting, this tutorial doesn't talk about boot.rgu but porting from 6.0 to 6.1, boot.rgu has a lot of changes... Which parts are important to port ? I guess [HKEY_LOCAL_MACHINE\init] is, anything else useful to have it boot ?

7- Nevermind, I've figured out.

Once again, thanks to all for sharing your knowledge.
[Touch GSM ROM Development] cruzzmz:
well i dunno if u could exclude the langDB & WinCENLS_WWE ... since in my dev i do not have those folders.

Yup sometimes u will encounter a modules that cannot be changed, i think as long as there is no conflict then it would be fine

u can try to PM me ur ported MAP.TXT & ROMHDR.TXT so i can take a look at it but then again urs & mine dev is diff

i didnt do anything to my boot.rgu & still my rom works wonderfully.

if all fails,

U can try this as i did for 1st time porting WM6.1 ... use ur ori xip with the WM6.1 sys & compile it to make a new rom ... try it & see the version
[Touch GSM ROM Development] {SBR}_L3GION:
could you help me with porting the .xip im looking to turn my ROMs into true builds. i would like to know how to extract the xip so that i can port the xip. i cant port my xip until i can accomplish that im looking to port the latest raphael ROM i already know how to port the sys but the xip is being difficult.
[Touch GSM ROM Development] Ameet:
Which part of this did you not understand? Can you edit your post to a bit more detailed question?
[Touch GSM ROM Development] {SBR}_L3GION:
well i really want to know how to dump an xip so that i can port my latest im willing to daonate if you would please help me through kinda a step by step by step thing. i really just want to learn. i have read this thing half a hundred times and i still get confused. really i need to learn how to dump the xip with all the new builds that are being released i would like to be able to port at my own will i can port a sys no problem but the xip is just really difficult for me. i know this is a step by step by step but im missing something somewhere.
[Touch GSM ROM Development] Ameet:
Ok. First tell me which file you have which you are trying to work on. Post the file names here and possibly from where you got those

EDIT: Sorry didnt read the donation part earlier :) I'm not doing this for donations, just want to help everyone so they can cook good ROMs and someday look back at my username and say "Hey, thats the guy who guided me well" :)
[Touch GSM ROM Development] lennysh:
Eh, anybody got an EXE file for 20273?? Or an original dump? This packaged version from the Chinese website is not 100% 20273...
[Touch GSM ROM Development] !Aman!:
i dont really think all the new builds are always 100% new. like the 19965, its not that everything in that is 19965 build, u can see some 19958 build compnents there. just use the 20273 u're getting ;)
[Touch GSM ROM Development] {SBR}_L3GION:
im using the official 19965 from AT&T for the raphael and im trying to port it to the the sprint vogue. which is build 19208. actually i want to port it to both the Titan and the vogue. preferrably titan first since i just use it as a guinea pig. i can upload the files to an ftp if you would like.
[Touch GSM ROM Development] lennysh:
Tis too buggy tho. Custom themes on my VGA device have weird colors directly after a hard reset... And you can't select multiple emails in poutlook...
[Touch GSM ROM Development] !Aman!:
ohh, but its working great for my QVGA Touch ;)
[Touch GSM ROM Development] lennysh:
Can you select more than one email?
[Touch GSM ROM Development] !Aman!:
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.
[Touch GSM ROM Development] Ameet:
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 ;)
[Touch GSM ROM Development] {SBR}_L3GION:
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.
[Touch GSM ROM Development] !Aman!:
try "RomMaster.exe OS.nb -w 5 -x -o xip.bin"
[Touch GSM ROM Development] {SBR}_L3GION:
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.
[Touch GSM ROM Development] !Aman!:
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 :)
[Touch GSM ROM Development] {SBR}_L3GION:
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.
[Touch GSM ROM Development] !Aman!:
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.
[Touch GSM ROM Development] {SBR}_L3GION:
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.
[Touch GSM ROM Development] Ameet:
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
[Touch GSM ROM Development] {SBR}_L3GION:
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.
[Touch GSM ROM Development] Dragonet:
I still do not know why we should port SYS or XIP,anyone can give me a brief explanation???
[Touch GSM ROM Development] !Aman!:
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.
[Touch GSM ROM Development] Ameet:
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
[Touch GSM ROM Development] {SBR}_L3GION:
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.