PDA

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


Pages : [1] 2

Ameet
24th March 2008, 06:37 AM
SYS PORTING GUIDE :cool:

Special thanks goes to Monsterfly for helpful guidance on porting SYS to a new build

Inventory:
Tools you will need for porting the SYS

BuildOS+Package Tool (http://forum.xda-developers.com/showpost.php?p=2072087&postcount=1)by Ervius
G’Reloc Tool (http://forum.xda-developers.com/showpost.php?p=1524413&postcount=1)by Misar

Procedure:
Use BuildOS+Package tool to dump ORIGINAL ROM and build packages

Copy G'Reloc to the folder where you have original SYS folder
Run it and write down numbers under slot 0, slot 1 and size of rom

Use BuildOS+Package tool again to dump DONOR ROM and build packages

Replace your original SYS folder with Donor's SYS

Run G'Reloc again

Notice that this time numbers under slot 0, slot 1 and size of rom may be different

Just replace them with numbers you got in the firt step

Click »Doit!« and wait till it shows "Done" in the status bar

Use the OEM folder in which you have added ingredients and the XIP fodler that you ported

Info: In some cases you will need to copy WinCENLS_WWE folder to SYS folder (if not present in Donor's SYS) from your original ElfIn SYS otherwise your device will not boot

Build OS in the kitchen of your choice and flash the new build ROM to your device and HAPPY COOKING :)

Timebomb solution and the boxed closed / ok button solution found here (http://forum.xda-developers.com/showpost.php?p=2304757&postcount=148) by HTCTouchp

Ameet
24th March 2008, 06:37 AM
XIP Porting Guide (Based on Bepe's Buildxip.exe tool)

More detailed Porting guide on manual XIP Porting can be found here (http://forum.xda-developers.com/showthread.php?t=438676)

I have added pictorials in .pdf format at the end of this post. Too many pictures so the .pdf file ;)

Special thanks goes to Ervius for a lot of helpful guidance on porting XIP to a new build

Inventory:
Tools you will need for porting the XIP

BuildOS+Package Tool by Ervius
XIPPort Tool by Bepe
M’Reloc Tool by Misar

Procedure:
To make life more simple, I am attaching the XIP.bin extracted from Kaiser 19209 build ROM by Ervius. Dump the XIP.bin file with XIPPort tool and choose to make packages. Download from here (Rapidshare Folder (http://rapidshare.com/users/2UPETQ))

In the OUT folder, ignore or delete all the text files (.txt) These files are created by XIPPort tool only to know the physical addresses and are not required for porting

In files and modules folders, delete all folders except “MSXIPKernel” and “MSXIPKernelTLK” The modules and files from these folders are the only items which are to be ported to make a new build. DO NOT copy or replace any files and modules from OEMXIPKernel, as these are device specific

Now open the BuildOS+Package tool and on packaging page click open with option to choose dump folder. Select your original ElfIn XIP folder (OS 19199) and on right you will see the XIP in its directory structure. Don’t click on build packages (you can’t do it anyways, as package.sof file is not present in the XIP folder) Instead click on “OEMXIPKernel” and then right click to select export package. Choose to save on different location, like your desktop. This is only temporary requirement, just to be on safe side that you still don’t replace any files or modules seen in that folder

Now you copy and replace the files and modules seen in the “MSXIPKernel” and “MSXIPKernelTLK” from the new XIP in your original XIP folder, you need to copy and replace only those items found in your original folders, do not add anything new. Now compare each and every .rgu file from your new XIP with your original XIP and check if they are similar (NOT the .rgu files in “OEMXIPKernel”)

After all the files and modules are replaced and .rgu files checked, run the M’Reloc tool and check the modules addresses from your original XIP with your new XIP (Don’t do anything to the modules located in “OEMXIPKernel”) The addresses have to be similar to your original modules from your original “MSXIPKernel” and “MSXIPKernelTLK” folders

Changing of addresses through M’Reloc is not required if you are using the BuildOS+Package tool for cooking ROMs as Ervius has already included the address relocation system into his tool with BuildXIP

In a nutshell you need to follow the following copying & replacement structure and everything will work:
Original XIP (19199): OEMXIPKernel
Donor XIP (19209): MSXIPKernel and MSXIPKernelTLK

Replace this new XIP folder in ROM in Bepe's WM6.1 Elfin kitchen and cook to get 19209 Build XIP, HAPPY COOKING :)

Ameet
24th March 2008, 06:38 AM
I have managed to put together a clean Base WM6.1 ROM for Elfin (Touch XL - 128/256) with almost everything removed except the most essential system packages

Please take note, this is a base rom for cooking and not to be directly flashed on the device as it may be unusable. You need to populate the ROM with your choice of packages and the essentials to bring it up to the 50MB limit for making it usable

Link to download the dumped Removed packages: Here (http://www.mediafire.com/?2d2yygi7yj8)

Special thanks to

Bepe for his wonderful kitchen
Noonski for his valuable comments and suggestion all the way
Kokotas for his help in getting rid of the cube

Download Bepe's WM6.1 Kitchen for ElfIn (http://forum.xda-developers.com/showthread.php?t=365664) and replace the OEM and SYS folders with yours and cook the OS.nb file

The archived OEM package (dumped and packaged) can be downloaded here

DOWNLOAD HERE (http://rapidshare.com/files/104874336/OEM.rar) (V1)


UPDATE
DOWNLOAD HERE (http://rapidshare.com/files/127612021/OEM.V2.rar) (V2) (Further stripped down OEMApps & OEM_Lang_0409)

20296 MSXIPKERNEL. Mix this with OEMXIPKERNEL and you are ready to cook. Do M'relocing if necessary
Download here: 108115

Ameet
24th March 2008, 06:39 AM
A. The archived SYS package 19199 buid. DOWNLOAD HERE (http://rapidshare.com/files/104879865/SYS.rar)

Stripped to down basic required

B. SYS ported from 19209 Build. DOWNLOAD HERE (http://rapidshare.com/files/110830417/19209_Ported_SYS.rar) (Rapidshare Folder (http://rapidshare.com/users/2UPETQ/2)) This archieve is from my new ROM (XIP and SYS Ported to new build) Removed packages as per above ist

C. 19588 Build ROM Dump (OEM, SYS & XIP) DOWNLOAD HERE (http://rapidshare.com/users/A2CWPL). Thanks to Koko (http://forum.xda-developers.com/member.php?u=659207) for sharing this archieve (SYS, OEM & XIP)

vibranze
24th March 2008, 07:10 AM
Hi Abrabekar,

You really came in the right time! I'm about to remove all the unnecessary apps inside Elfin original ROM and now you came with WM6.1:)

You really save my time, many thanks to you!

Cheers,
Vibranze

vibranze
24th March 2008, 07:12 AM
Deleted! Double post.

JohnQ
24th March 2008, 08:13 AM
well im just waiting for another version wm6.1 ROM for elfin~at least after swiftblade and couldyfa's~ any updated wm6.1 ROM for elfin is welcome! `cheers~

Ameet
24th March 2008, 12:40 PM
well im just waiting for another version wm6.1 ROM for elfin~at least after swiftblade and couldyfa's~ any updated wm6.1 ROM for elfin is welcome! `cheers~

@JohnQ.. this is not an upgrade to swiftblade's or cloudyfa's wonderful roms but just a clean base rom for everyone to cook have more personalised options ;)

vibranze
24th March 2008, 01:46 PM
Hi Ababrekar,

Yeah, but how I supposed to populate the SYS and OEM folder? Or to be precised, how should I continue from your OS.nb file?

Cheers,
Vibranze

@JohnQ.. this is not an upgrade to swiftblade's or cloudyfa's wonderful roms but just a clean base rom for everyone to cook have more personalised options ;)

Ameet
24th March 2008, 02:07 PM
Hi Ababrekar,

Yeah, but how I supposed to populate the SYS and OEM folder? Or to be precised, how should I continue from your OS.nb file?

Cheers,
Vibranze

you need to populate the rom by adding your choice of packages. the essentials out the removed list would be phone dialer, commanager, bluetooth, netcf, audio manager. also you need to add files so the final cooked os.nb file is above 50mb limit

Noonski
24th March 2008, 05:01 PM
Don't Mind Vibranze he allready is running his own Rom...

Ameet
24th March 2008, 06:55 PM
Don't Mind Vibranze he allready is running his own Rom...

:D i was answering his questions coz no question should go unanswered in my thread :cool:

Noonski
24th March 2008, 06:58 PM
I think it would be a good idea to post which kitchen you advice to cook the nb in.

canadian student
24th March 2008, 07:21 PM
I was wondering if there is a WM 6.1 Rom with nothing extra added. Just like an original HTC ROM? Like with no accessories folder, or HTC Action screen etc. I really don't like any of that stuff. I really only wanted WM 6.1 for the threaded sms.


Thanks in advance

Ameet
24th March 2008, 07:33 PM
I was wondering if there is a WM 6.1 Rom with nothing extra added. Just like an original HTC ROM? Like with no accessories folder, or HTC Action screen etc. I really don't like any of that stuff. I really only wanted WM 6.1 for the threaded sms.
Thanks in advance

as i said, this is a bare naked base rom with all the packages removed for maximum user customisation. the packages removed are listed in my first post here ;)


I think it would be a good idea to post which kitchen you advice to cook the nb in.

good suggestion, like always brother :cool: i have updated the first post at the last line guiding to bepe's kitchen for cooking the nb file
(although i need bepe's or your guidance on how to get the exact same contents of his ROM folder from my ROM which can help everyone in achieving more customisation)

Noonski
24th March 2008, 08:09 PM
Well i've been working a month on SuperCore now but it now contains Packages for almost everything you have removed.
Looked up most of the registry settings for removed items to.
Generated new .dsm files and made option.xml for each.

And i still need to make registry keys to make removed controlpanel items work from SD.
So now i can wait another month before uploading new SuperProCore.

Now if somone could tell me how to make a os.nb.payload for ELF only with 4MB pp poeple would really be happy.

Ameet
24th March 2008, 08:54 PM
Well i've been working a month on SuperCore now but it now contains Packages for almost everything you have removed.
Looked up most of the registry settings for removed items to.
Generated new .dsm files and made option.xml for each.

And i still need to make registry keys to make removed controlpanel items work from SD.
So now i can wait another month before uploading new SuperProCore.

Now if somone could tell me how to make a os.nb.payload for ELF only with 4MB pp poeple would really be happy.

:D even i'm looking for a way to get the exact contents of ROM folder what Bepe has in his kitchen for ElfIn. It contains XIP with a lot of other files. I wonder if having the os.nb.payload from my own rom would help rather than using bepe's file :D still waiting for a guidance

i am attaching the default.hv & user.hv files with the reg entries deleted as per the removed packages list. see if you can check and comment on it, it will be great

eagerly waiting for SuProCore :D

Noonski
24th March 2008, 08:58 PM
Most of the keys are double ussually.

So you'll find the same keys also in SYS and OEm .rgu files as in hives files.

Ameet
24th March 2008, 09:00 PM
Most of the keys are double ussually.

So you'll find the same keys also in SYS and OEm .rgu files as in hives files.

oh ok. so to completely remove the removed package list from the rom, i will have to also edit the .rgu files found in oem & sys?

Noonski
24th March 2008, 09:54 PM
oh ok. so to completely remove the removed package list from the rom, i will have to also edit the .rgu files found in oem & sys?


Naah you really don't need to.
Those left behind registry settings ussually don't do any harm without the files present.

Ameet
24th March 2008, 10:32 PM
Naah you really don't need to.
Those left behind registry settings ussually don't do any harm without the files present.

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

Taninpv
25th March 2008, 12:25 AM
Excellent job guys.

Noonski
25th March 2008, 12:55 AM
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.

vibranze
25th March 2008, 01:17 AM
you need to populate the rom by adding your choice of packages. the essentials out the removed list would be phone dialer, commanager, bluetooth, netcf, audio manager. also you need to add files so the final cooked os.nb file is above 50mb limit

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

vibranze
25th March 2008, 01:18 AM
Please don't ignore me, I'm just a reborn newbie:)

Don't Mind Vibranze he allready is running his own Rom...

vibranze
25th March 2008, 02:26 AM
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

JohnQ
25th March 2008, 03:49 AM
@JohnQ.. this is not an upgrade to swiftblade's or cloudyfa's wonderful roms but just a clean base rom for everyone to cook have more personalised options


@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!

Ameet
25th March 2008, 05:56 AM
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

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

Ameet
25th March 2008, 07:28 PM
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

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

Ameet
31st March 2008, 09:29 AM
updated the 3rd post with link to download my clean edition v2 rom for touch xl

Ameet
4th April 2008, 09:24 AM
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

vibranze
5th April 2008, 03:22 AM
Hi Ameet,

What is the different between AB_CE_V3.1.nbh (http://rapidshare.com/files/104637046/AB_CE_V3.1.nbh) and AB_CE_RUU_Signed.rar (http://rapidshare.com/files/103729511/AB_CE_RUU_Signed.rar)? And where is the ROM folder? Can I just use the Bepe's kitchen ROM folder?

Thanks.

Cheers,
Vibranze

Ameet
5th April 2008, 06:13 AM
Hi Ameet,

What is the different between AB_CE_V3.1.nbh (http://rapidshare.com/files/104637046/AB_CE_V3.1.nbh) and AB_CE_RUU_Signed.rar (http://rapidshare.com/files/103729511/AB_CE_RUU_Signed.rar)? And where is the ROM folder? Can I just use the Bepe's kitchen ROM folder?

Thanks.

Cheers,
Vibranze

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)

vibranze
5th April 2008, 08:24 AM
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

Ameet
5th April 2008, 09:26 AM
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

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

vibranze
5th April 2008, 10:30 AM
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

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

Ameet
5th April 2008, 10:39 AM
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

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

vibranze
5th April 2008, 10:52 AM
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\:M STASKMGR]
"3"=dword:00000000
"2"=dword:00000001
"1"="taskmgr.exe"
"0"="MSTASKMGR"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:M STASKMGR\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

Noonski
5th April 2008, 02:40 PM
[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.

vibranze
5th April 2008, 02:57 PM
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

[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.

Ameet
5th April 2008, 10:46 PM
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

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://forum.xda-developers.com/showpost.php?p=1882740&postcount=196 (http://forum.xda-developers.com/showpost.php?p=1882740&postcount=196))

vibranze
6th April 2008, 03:25 AM
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

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

Ameet
6th April 2008, 07:22 AM
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

i tried deleting the sqm folder once but then there was no signal at all

vibranze
6th April 2008, 07:52 AM
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

Ameet
6th April 2008, 07:58 AM
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

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... fucking weird problem man

Noonski
6th April 2008, 01:36 PM
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.

Ameet
6th April 2008, 03:26 PM
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.

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

vibranze
7th April 2008, 02:51 AM
Bro, how to disable SQM since you can't remove it? Me blur!


SQM can't be removed in 6.1 (Yet)

So at the moment disabling SQM is the best option.

Ameet
7th April 2008, 01:33 PM
@all experts in xda.. i have tried my hand at extracting xip from kaiser official wm6.1 rom following this procedure

http://forum.xda-developers.com/showpost.php?p=1934603&postcount=390 (http://forum.xda-developers.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 (http://rapidshare.com/files/105544492/XIP_Kaiser.rar.html)
XIP My Own (http://rapidshare.com/files/105544741/XIP_My_Own.rar.html)
XIP Trinity 19209 (http://rapidshare.com/files/105544909/XIP_Trinity_19209.rar.html)

Ameet
8th April 2008, 07:13 AM
@all experts in xda.. i have tried my hand at extracting xip from kaiser official wm6.1 rom following this procedure

http://forum.xda-developers.com/showpost.php?p=1934603&postcount=390 (http://forum.xda-developers.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 (http://rapidshare.com/files/105544492/XIP_Kaiser.rar.html)
XIP My Own (http://rapidshare.com/files/105544741/XIP_My_Own.rar.html)
XIP Trinity 19209 (http://rapidshare.com/files/105544909/XIP_Trinity_19209.rar.html)

no expert to comment on this yet? strange!! bepe, noonski.. atleast can u guys let me know something?

Ameet
8th April 2008, 06:38 PM
no expert to comment on this yet? strange!! bepe, noonski.. atleast can u guys let me know something?

no one still ready to guide us all?? really really strange

Ameet
9th April 2008, 11:15 PM
Next target 50MB without the Cube and a few more junk programs which are not used anytime ;)

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

vibranze
10th April 2008, 03:52 PM
Bro,

Did you have any problem with apps that need to use NetCF? I have problem with HHC (HTC Home Customizer) and CHMReader.Net (http://www.freewareppc.com/docs/chmreadernet.shtml) 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

Ameet
10th April 2008, 05:40 PM
Bro,

Did you have any problem with apps that need to use NetCF? I have problem with HHC (HTC Home Customizer) and CHMReader.Net (http://www.freewareppc.com/docs/chmreadernet.shtml) 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

i didnt face any problems with netcf 3.5... will upload my oem in sometime...

Ameet
11th April 2008, 08:35 AM
hi experts.. i am using my custom baked 19199 build wm6.1 rom cooked in bepe's kitchen for elfin. i want to port the new build (19209) to this rom and use it :D

i have attached a zip file with screenshots of various folders in rom from a downloaded 19209 xip and bepe's xip. can you please guide me on how to port this build to my rom? hope you can guide me how to and make out something out of the screenshots here :)

http://forum.xda-developers.com/attachment.php?attachmentid=80579&d=1207895001

hoping to read soon from experts

Ameet
17th April 2008, 08:05 PM
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

kokotas
18th April 2008, 10:00 AM
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!

Ameet
18th April 2008, 11:13 AM
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!

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 ;)

chiledog
20th April 2008, 09:26 PM
Thanks for the guide ababrekar.

Been looking for some info on XIP's for the last week and this is just what i needed.

Ameet
21st April 2008, 02:19 AM
Thanks for the guide ababrekar.

Been looking for some info on XIP's for the last week and this is just what i needed.

:D hoping to see some new roms come out of here :D

chiledog
21st April 2008, 12:07 PM
:D hoping to see some new roms come out of here :D

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

Ameet
21st April 2008, 10:39 PM
uploaded the 19209 xip.bin from ervius in first post. enjoy

!Aman!
22nd April 2008, 08:36 AM
Do these tools work in Vista?

Ameet
22nd April 2008, 09:19 AM
Do these tools work in Vista?

i havent really tried it.. u can try and post the findings :D

its right
22nd April 2008, 10:13 AM
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.

Ameet
22nd April 2008, 05:47 PM
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.

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 :)

Ameet
22nd April 2008, 06:41 PM
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

monsterfly
22nd April 2008, 08:20 PM
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

Try with this OEM. It is just newer version.

http://forum.xda-developers.com/showpost.php?p=2087698&postcount=594

vibranze
23rd April 2008, 02:53 AM
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?

its right
23rd April 2008, 02:57 AM
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 ) but its good to know how it is done rather than just knowing it will be done somehow :D :)

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 :(

its right
23rd April 2008, 02:58 AM
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?


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.

vibranze
23rd April 2008, 03:30 AM
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.

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

Ameet
23rd April 2008, 08:11 AM
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 :(

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)

Ameet
23rd April 2008, 08:13 AM
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

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

vibranze
23rd April 2008, 10:38 AM
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

its right
23rd April 2008, 09:56 PM
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)

i know it will support with no problems, but did you try to port for 19209??? this is the problem, it shows 19202 :confused:

Ameet
24th April 2008, 11:48 AM
i know it will support with no problems, but did you try to port for 19209??? this is the problem, it shows 19202 :confused:

i am using my ported xip 19209 with build 19209

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

Ameet
24th April 2008, 08:22 PM
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

lennysh
24th April 2008, 08:37 PM
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
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.

lennysh
24th April 2008, 08:38 PM
i know it will support with no problems, but did you try to port for 19209??? this is the problem, it shows 19202 :confused:

What was the original XIP that you were using? 19202? or older?

its right
24th April 2008, 08:55 PM
i am using my ported xip 19209 with build 19209

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

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 :).

Ameet
27th April 2008, 07:06 PM
thread updated with my new rom as targetted and with new 19209 ported sys folder for cooking

http://forum.xda-developers.com/showpost.php?p=2051341&postcount=4

http://forum.xda-developers.com/showpost.php?p=2051341&postcount=3

kokotas
27th April 2008, 08:20 PM
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!

Ameet
28th April 2008, 05:36 AM
Hey Ameet!
You're making things so easier with this thread!
Good job;)
It makes life easier for cooking wannabes :D

Btw, I guess that the .rgu didn't help removing the MMS...
Regards!
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

Ameet
28th April 2008, 02:03 PM
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

kokotas
28th April 2008, 02:56 PM
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

If you mean something like this RegLogger
http://freewareppc.com/utilities/reglogger.shtml
or
http://forum.xda-developers.com/showthread.php?t=333323
you can grab the OEM Package here (http://rapidshare.com/users/28J7PZ).
Regards!

Ameet
28th April 2008, 09:43 PM
If you mean something like this RegLogger
http://freewareppc.com/utilities/reglogger.shtml
or
http://forum.xda-developers.com/showthread.php?t=333323
you can grab the OEM Package here (http://rapidshare.com/users/28J7PZ).
Regards!

hey thanks so much brother.. i'll check it out

vibranze
29th April 2008, 02:24 AM
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

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

Ameet
29th April 2008, 08:14 AM
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


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

Ameet
29th April 2008, 09:58 AM
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

vibranze
29th April 2008, 11:04 AM
No problemo brother:) It's nice to help each other:D

Btw, I have 2 questions that I want to ask long time ago but kept forgetting it.

1. When you use tap on the small "G" icon during the GPRS session, do you see a disconnect option? I already included the following registry to show timer and disconnect option but it's still not there. Last time, it's worked with Asus P525.

[HKEY_LOCAL_MACHINE\CONTROLPANEL\PHONE]
"Flags2"=dword:16

2. Another thing is are you able to do finger scrolling on the address book, using stock ROM or cooked ROM? Not sure why it's not working on my Elfin or there is no such thing at all?:P

Cheers,
Vibranze

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

Ameet
29th April 2008, 12:15 PM
1. When you use tap on the small "G" icon during the GPRS session, do you see a disconnect option? I already included the following registry to show timer and disconnect option but it's still not there. Last time, it's worked with Asus P525.

[HKEY_LOCAL_MACHINE\CONTROLPANEL\PHONE]
"Flags2"=dword:16
this reg entry does exist in my elfin and i do see the disconnect button.. i always saw it, in my shipped rom and also in my custom rom

2. Another thing is are you able to do finger scrolling on the address book, using stock ROM or cooked ROM? Not sure why it's not working on my Elfin or there is no such thing at all?
yes i can do finger scrolling in both roms.. maybe u have kept the touchflo scroll off

[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings]
"EnableScroll"=dword:00000001

kokotas
29th April 2008, 06:25 PM
1. When you use tap on the small "G" icon during the GPRS session, do you see a disconnect option? I already included the following registry to show timer and disconnect option but it's still not there.
Hey vibranze!
Try with this .provxml in your OEM!
Regards!

vibranze
30th April 2008, 04:29 AM
Thanks Kokotas, but it's look like what I have inside the registry and I still didn't see the disconnect option.:(

I haven't tried to press an end key for 3 second, will try that later and let you know.

Cheers,
Vibranze

Hey vibranze!
Try with this .provxml in your OEM!
Regards!

vibranze
30th April 2008, 04:32 AM
Thanks Bro!

this reg entry does exist in my elfin and i do see the disconnect button.. i always saw it, in my shipped rom and also in my custom rom

Weird then, I thought it is disappeared because of WM6/WM6.1 not recognize it anymore.

yes i can do finger scrolling in both roms.. maybe u have kept the touchflo scroll off

[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings]
"EnableScroll"=dword:00000001

My bad, I also have it in my registry and I tried it just now, it is there actually, it's just that I not realise it because it is not fast, I need to press and drag harder for the contact list to move. When my friend show me on his Kaiser, it's actually very fast.

Cheers,
Vibranze

vibranze
30th April 2008, 06:09 AM
Bro,

I'm not so clear about your XIP & SYS porting instruction, appreciate if you can put a screenshot as a complement to the guide? Thanks.

Cheers,
Vibranze

!Aman!
30th April 2008, 06:31 AM
Bro,

I'm not so clear about your XIP & SYS porting instruction, appreciate if you can put a screenshot as a complement to the guide? Thanks.

Cheers,
Vibranze
yes that will be great :)

Ameet
30th April 2008, 07:56 AM
due to increased public demand, i will surely post the guide with screenshots :D give me sometime as i am currently travelling and will try to do this over weekend

vibranze
30th April 2008, 08:00 AM
Yeyyy:) Take your time:cool:

due to increased public demand, i will surely post the guide with screenshots :D give me sometime as i am currently travelling and will try to do this over weekend

axl79
30th April 2008, 09:18 AM
THANKS!!! ababrekar for this fantastic guide for portin XIP and SYS, yesterday we sucefully port XIP 19701 from an hermes device to ervius kitchen for trinity.

Now we are working on SYS porting, I hope it will go fine, and soon we can have our ROM with NEW build and OS.

Thanks again, I was a little lost with XIP porting, and this guide give me a perfect guide to have sucess.

Keep doing this good work.

Ameet
30th April 2008, 09:44 AM
THANKS!!! ababrekar for this fantastic guide for portin XIP and SYS, yesterday we sucefully port XIP 19701 from an hermes device to ervius kitchen for trinity.

Now we are working on SYS porting, I hope it will go fine, and soon we can have our ROM with NEW build and OS.

Thanks again, I was a little lost with XIP porting, and this guide give me a perfect guide to have sucess.

Keep doing this good work.

:) good to know you could port nicely through this :D keep up with the porting.. also can u post a link to download the latest build shipped rom so i can port it even for elfin? isn't 19209 supposed to be the latest build?

Ameet
2nd May 2008, 10:17 AM
i have now successfully removed arcsoft mms from my rom (i never use it) and that gave me additional 2.73mb.. thanks to all good friends here on xda and vetvito from ppcgeeks

these are the entries and file i removed to get rid of shipped mms 84432

has anyone managed to get office communicator working on ppc? i installed the mobile version of communicator and it always shows me stupid error telling me to install upgraded version (i have 2007, which i think is the latest)

!Aman!
9th May 2008, 02:46 PM
still waiting for screenshots from u bro :)

Ameet
9th May 2008, 03:18 PM
still waiting for screenshots from u bro :)

tomorrow night surely my brother.. i had been busy with something else

Ameet
10th May 2008, 03:12 PM
4th post updated with new UC 2.0 capable ROM (As targeted) :D
http://forum.xda-developers.com/showpost.php?p=2051341&postcount=4

Ameet
11th May 2008, 03:39 PM
still waiting for screenshots from u bro :)

attached the pictorial in first post.. its in .pdf format :D really sorry for the delay :( had been out of city :)
hope it helps.. need anything, just buzz me

!Aman!
11th May 2008, 04:53 PM
attached the pictorial in first post.. its in .pdf format :D really sorry for the delay :( had been out of city :)
hope it helps.. need anything, just buzz me
thanks bro and dont be sorry :)

cruzzmz
12th May 2008, 06:47 AM
dude
when i open ervius Pkg Tool & select open from dump & select the XIP OUT folder nothing happen ... it just return error

[Selected Path]
C:\Documents and Settings\S80102\Desktop\new2\19400\New Folder\OriXIP

[Error]
packages.sof missing!


I didnt click on the BuildOS yet ...

any advise???

Ameet
12th May 2008, 07:08 AM
dude
when i open ervius Pkg Tool & select open from dump & select the XIP OUT folder nothing happen ... it just return error

I didnt click on the BuildOS yet ...

any advise???

read carefully when it comes to doing something with XIP, it may brick your phone

Now open the BuildOS+Package tool and on packaging page click open with option to choose dump folder. Select your original ElfIn XIP folder (OS 19199) and on right you will see the XIP in its directory structure

demo05
12th May 2008, 11:36 PM
hi there, can i use it for add a language in a rom for my asus p535?

If yes, sow? please, i need italian language..

Thanks..

cruzzmz
13th May 2008, 01:20 PM
Now open the BuildOS+Package tool and on packaging page click open with option to choose dump folder. Select your original ElfIn XIP folder (OS 19199) and on right you will see the XIP in its directory structure


does this mean i need to unpack the rom to OEM, SYS & ROM ?

or i can just choose the OUT folder of the XIP that have extracted using XipPort? ... BTW if i do that i can get anything

Ameet
13th May 2008, 05:26 PM
does this mean i need to unpack the rom to OEM, SYS & ROM ?

or i can just choose the OUT folder of the XIP that have extracted using XipPort? ... BTW if i do that i can get anything

this is related to xip porting in which you dont need the oem and sys folders.. you only need the xip folder which is present in bepe's kitchen.. i have also attached the pictorial now which can guide u a lil better

Ameet
13th May 2008, 08:34 PM
hey guys.. had a look at this information (http://forum.xda-developers.com/showpost.php?p=1543877&postcount=1) by NikMel (http://forum.xda-developers.com/member.php?u=377700).. this actually works like a charm.. i cooked a rom about 39mb and did this trick to make it 50mb and it actually flashed on my phone and i am using it :D

this is what he has found and worked out

If your cooked ROM file is smaller then 50 MB, then follow the ten step program below
1. Download XVI32 Hex Editor from here (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) and open the editor
2. Open you OS.nb
3. Scroll down to the end of the file
4. Go to "Edit" -> "Insert string..." in XVI32
5. In "Insert" window select "Hex string" and type FF
6. In "Insert <n> times" part of "Insert" window select decimal and type 10000000
7. Go to "Address" -> "Goto..."
8. In "Go to" part of "Go to address" window select "hexadecimal" and type $3200000, in "Go mode" part of "Go to address" window select "absolute" and hit OK
9. Go to "Edit" and click on "Delete from cursor"
10. Save your OS.nb file, make a .nbh file and flash it to your device

caretaker22
14th May 2008, 07:04 AM
Can i used these same steps on the htc vogue plus can you the links for buildos and package tool is dead....

cruzzmz
14th May 2008, 11:11 AM
this is related to xip porting in which you dont need the oem and sys folders.. you only need the xip folder which is present in bepe's kitchen.. i have also attached the pictorial now which can guide u a lil better

i have downloaded the pictorial & have extracted both new & old xip OUT folder. I follow ur instruction but still stuck at where i start :( with same error

BTW if i do it manually, meaning that i have copied all new the Files/MSXIPKernel & Modules/MSXIPKernel to my ori XIP & do a MReloc & follow the same V & D value of ori xip.

do i need to do anything else? ... BTW i am not using a HTC dev

!Aman!
14th May 2008, 06:21 PM
I'm trying to port 19213 build into my Elfin using Ervius PkgTool, but everytime after i chose Create_ROM_for_ELF.bat, the tool gets stuck at "xipping os.nb.payload". I've tried bepe's kitchen also, but no success. could anybody help me to point out my mistake?

Ameet
14th May 2008, 10:08 PM
Can i used these same steps on the htc vogue plus can you the links for buildos and package tool is dead....

i'll update the links and sorry cant comment on vogue.. never been to that part of the rom cooking world yet :)

Ameet
14th May 2008, 10:10 PM
BTW if i do it manually, meaning that i have copied all new the Files/MSXIPKernel & Modules/MSXIPKernel to my ori XIP & do a MReloc & follow the same V & D value of ori xip.

do i need to do anything else? ... BTW i am not using a HTC dev

this should work

cruzzmz
15th May 2008, 05:07 AM
ok thanks for the answer
So do i need to see the map.txt for conflict?
how bout anything else, nk.exe etc ...

if just changing the V&D is all that i need to do then after finish with it i only need to do a xip_out.bin right?

Ameet
15th May 2008, 05:52 AM
ok thanks for the answer
So do i need to see the map.txt for conflict?
how bout anything else, nk.exe etc ...

if just changing the V&D is all that i need to do then after finish with it i only need to do a xip_out.bin right?

on elfin u dont need to do xip_out... buildxip on bepe's kitchen does it for u.. i think nk.exe is from oemxipkernel (cant remember off hand)... read what u porting from the new xip folder structure dude.. DO NOT REPLACE ANYTHING IN OEMXIPKERNEL

cruzzmz
15th May 2008, 08:31 AM
on elfin u dont need to do xip_out... buildxip on bepe's kitchen does it for u.. i think nk.exe is from oemxipkernel (cant remember off hand)... read what u porting from the new xip folder structure dude.. DO NOT REPLACE ANYTHING IN OEMXIPKERNEL

ok ill try it soon ... since i have change all file except OEMXIPKERNEL ...
too many reading of xip porting tutorial making me really confused now :(

BTW where is buildxip????

anyway thanks

!Aman!
15th May 2008, 08:41 AM
ok ill try it soon ... since i have change all file except OEMXIPKERNEL ...
too many reading of xip porting tutorial making me really confused now :(

BTW where is buildxip????

anyway thanks
buildxip is an exe file used for XIP porting, u can find it in the 'Tools' folder. the kitchen will run it automatically.

cruzzmz
15th May 2008, 09:45 AM
buildxip is an exe file used for XIP porting, u can find it in the 'Tools' folder. the kitchen will run it automatically.

cool found it but then i cant extract header.bin from my xip.bin ... :( ... seems like too many error

!Aman!
15th May 2008, 11:11 AM
cool found it but then i cant extract header.bin from my xip.bin ... :( ... seems like too many error
header.bin???u only have to dump the xip.din using xipport.exe, which header.bin are you talking abt?

Ameet
15th May 2008, 11:53 AM
cool found it but then i cant extract header.bin from my xip.bin ... :( ... seems like too many error

now this is a file i've heard of for the first time here :eek:.. whr is it used? all this while we have been trying to get the romhdr.bin

Ameet
15th May 2008, 07:02 PM
My ROMs have been moved to a new thread here (http://forum.xda-developers.com/showthread.php?t=392637) to avoid confusion and crowding in this thread :D

do check out my new ROMs ;)

cruzzmz
18th May 2008, 12:28 PM
now this is a file i've heard of for the first time here :eek:.. whr is it used? all this while we have been trying to get the romhdr.bin

it was in ur pictorial tutorial ... figure 3 using dumprom xip.bin -5 -d XIP

u have to dump xip.bin to get the romhdr.bin following the command


sorry it was romhdr (my mistake)

btw do u change any value of ulRAMStart & ulRAMFree?

Ameet
27th May 2008, 10:04 PM
post #4 updated with more archieve from newer build. thanks to koko

!Aman!
28th May 2008, 05:11 AM
post #4 updated with more archieve from newer build. thanks to koko
what's different in this OEM, XIP and SYS archive?

Ameet
28th May 2008, 06:50 AM
what's different in this OEM, XIP and SYS archive?

nothing different.. its just a rom of the build dumped by koko ;)

!Aman!
28th May 2008, 07:06 AM
nothing different.. its just a rom of the build dumped by koko ;)
ok, then i can stick to my own ROM :D

MickyMax
2nd June 2008, 04:24 PM
Can you share 19949's XIP and SYS please ? :D

Ameet
5th June 2008, 03:06 PM
Can you share 19949's XIP and SYS please ? :D

its upto itjme or pham quang to release that build for public brother ;)

Ameet
8th June 2008, 09:56 AM
can any mod make this thread sticky? i think its helped a lot of ppl to port the sys and xip ;)

i'll be posting a guide on porting the newer builds too (like diamond, xperia) which needs some cpl tricking.. :D

!Aman!
8th June 2008, 10:01 AM
can any mod make this thread sticky? i think its helped a lot of ppl to port the sys and xip ;)

i'll be posting a guide on porting the newer builds too (like diamond, xperia) which needs some cpl tricking.. :D
yup...i FULLY agree with u bro ;)

MickyMax
8th June 2008, 10:03 AM
Someone have solved the contact bug with 19949 SYS ? :D When I click on the right soft key, nothing appears... :(

Ameet
8th June 2008, 10:11 AM
Someone have solved the contact bug with 19949 SYS ? :D When I click on the right soft key, nothing appears... :(

in my device, the contacts opens up ;)

caxio
8th June 2008, 12:03 PM
can any mod make this thread sticky? i think its helped a lot of ppl to port the sys and xip ;)

i'll be posting a guide on porting the newer builds too (like diamond, xperia) which needs some cpl tricking.. :D

yes is very usefull l like the guide for port sys of last build diamond and xperia
thanks , i wait the tips

MickyMax
8th June 2008, 12:18 PM
in my device, the contacts opens up ;)

Can you give me some help ? :D

Ameet
8th June 2008, 01:07 PM
Can you give me some help ? :D

help in what brother.. i didnt do any bug fixes there.. ;) just ported the xperia and poof!!!! flashed to my device and it worked ;)

MickyMax
8th June 2008, 02:09 PM
help in what brother.. i didnt do any bug fixes there.. ;) just ported the xperia and poof!!!! flashed to my device and it worked ;)

You're a lucky guy.... :D

!Aman!
8th June 2008, 05:26 PM
i have ported 19949 build into my elfin but none of my 'X' or 'OK' buttons are inside a square. can anybody help me to solve this little bug? pls check the marked area in screenshot. the screenshot on the right side is the normal one.
http://forum.xda-developers.com/attachment.php?attachmentid=91219&stc=1&d=1212938607http://forum.xda-developers.com/attachment.php?attachmentid=91220&stc=1&d=1212938607

Noonski
8th June 2008, 10:39 PM
i have ported 19949 build into my elfin but none of my 'X' or 'OK' buttons are inside a square. can anybody help me to solve this little bug? pls check the marked area in screenshot. the screenshot on the right side is the normal one.
http://forum.xda-developers.com/attachment.php?attachmentid=91219&stc=1&d=1212938607http://forum.xda-developers.com/attachment.php?attachmentid=91220&stc=1&d=1212938607
it's actually quite cool.

Noonski
8th June 2008, 10:45 PM
i have ported 19949 build into my elfin but none of my 'X' or 'OK' buttons are inside a square. can anybody help me to solve this little bug? pls check the marked area in screenshot. the screenshot on the right side is the normal one.
http://forum.xda-developers.com/attachment.php?attachmentid=91219&stc=1&d=1212938607http://forum.xda-developers.com/attachment.php?attachmentid=91220&stc=1&d=1212938607
it's actually quite cool.

First flash again with original unpatched dll.
If that fixes it repatch the startmenu icon again and flash and pray.

Haven't found the icon.

!Aman!
9th June 2008, 04:35 AM
it's actually quite cool.

First flash again with original unpatched dll.
If that fixes it repatch the startmenu icon again and flash and pray.

Haven't found the icon.
ok bro, next time i flash i'll try this

!Aman!
11th June 2008, 11:23 AM
it's actually quite cool.

First flash again with original unpatched dll.
If that fixes it repatch the startmenu icon again and flash and pray.

Haven't found the icon.
well, i've tried again with original dll, but the problem persisted. i even tried with the SYS of 19915 build and that also had same problem. but if i use diamond's SYS, everything is fine. any other ideas bro?

cruzzmz
14th June 2008, 01:34 PM
ababrekar
can u email me the 19949 xip
cruzzmz@gmail.com

thx

!Aman!
15th June 2008, 04:01 PM
it's actually quite cool.

First flash again with original unpatched dll.
If that fixes it repatch the startmenu icon again and flash and pray.

Haven't found the icon.
bro, the problem is resolved :)
the problem was with the shell32.exe and not with any of these dll's, mui's that i had modified. i replaced the shell32.exe of 19949 SYS with the one from 19588 SYS and this little bug is gone :D
although i replaced this file to solve the Timebomb problem with my 19949 build, but it also solved this little bug.

Ameet
15th June 2008, 04:19 PM
bro, the problem is resolved :)
the problem was with the shell32.exe and not with any of these dll's, mui's that i had modified. i replaced the shell32.exe of 19949 SYS with the one from 19588 SYS and this little bug is gone :D
although i replaced this file to solve the Timebomb problem with my 19949 build, but it also solved this little bug.

cool.. ur post goes to the first as a guide for anyone who is cooking ;) so u managed to find 2 solutions in 1 :D

!Aman!
15th June 2008, 04:36 PM
cool.. ur post goes to the first as a guide for anyone who is cooking ;) so u managed to find 2 solutions in 1 :D
yeah ;)
i'm sure this 19949 is a beta version (not supposed for commercial launch i think)...and i guess 19581 and 19585 might have faced similar Timebomb problems coz those builds were not supposed to be used after commercial launch

jmstumme
15th June 2008, 05:38 PM
I am quite glad to see the my XIPTools were used in the xip porting pack!

cruzzmz
16th June 2008, 06:09 AM
There are still conflict in my virtual base address, even though i have use xip address tool to change slot0, slot1

any suggestion?

MAP.TXT

03e79000 - 03e84000 L0000b000 Virtual base address of cachefilt.dll
03e83000 - 03e84000 L00001000 !!!!!!!!!!!!!!!!!!
03e83000 - 03e8d000 L0000a000 Virtual base address of fsreplxfilt.dll
03e8d000 - 03ea2000 L00015000 Virtual base address of fsdmgr.dll
03ea2000 - 03eab000 L00009000 Virtual base address of fatutil.dll
03eab000 - 03ebe000 L00013000 Virtual base address of fatfsd.dll
03ebe000 - 03eca000 L0000c000 Virtual base address of imgfs.dll
03eca000 - 03ed0000 L00006000 Virtual base address of diskcache.dll
03ed0000 - 03edc000 L0000c000 Virtual base address of devmgr.dll
03edc000 - 03f4e000 L00072000 Virtual base address of crypt32.dll
03f4e000 - 03fe5000 L00097000 Virtual base address of coredll.dll
03fe4000 - 03fe5000 L00001000 !!!!!!!!!!!!!!!!!!
03fe4000 - 03ff2000 L0000e000 Virtual base address of certmod.dll
03ff2000 - 03ff6000 L00004000 Virtual base address of cecompr.dll

Regards

Ameet
16th June 2008, 01:28 PM
There are still conflict in my virtual base address, even though i have use xip address tool to change slot0, slot1

any suggestion?

MAP.TXT

03e79000 - 03e84000 L0000b000 Virtual base address of cachefilt.dll
03e83000 - 03e84000 L00001000 !!!!!!!!!!!!!!!!!!
03e83000 - 03e8d000 L0000a000 Virtual base address of fsreplxfilt.dll
03e8d000 - 03ea2000 L00015000 Virtual base address of fsdmgr.dll
03ea2000 - 03eab000 L00009000 Virtual base address of fatutil.dll
03eab000 - 03ebe000 L00013000 Virtual base address of fatfsd.dll
03ebe000 - 03eca000 L0000c000 Virtual base address of imgfs.dll
03eca000 - 03ed0000 L00006000 Virtual base address of diskcache.dll
03ed0000 - 03edc000 L0000c000 Virtual base address of devmgr.dll
03edc000 - 03f4e000 L00072000 Virtual base address of crypt32.dll
03f4e000 - 03fe5000 L00097000 Virtual base address of coredll.dll
03fe4000 - 03fe5000 L00001000 !!!!!!!!!!!!!!!!!!
03fe4000 - 03ff2000 L0000e000 Virtual base address of certmod.dll
03ff2000 - 03ff6000 L00004000 Virtual base address of cecompr.dll

Regards

are these the hd.dll and the os*.dll files? u can delete those two modules out of ur xip (gives u additional .07mb prog mem) without any fear. those files re only for the customer feedback function

Blueangel69
16th June 2008, 03:40 PM
A. The archived SYS package 19199 buid. DOWNLOAD HERE (http://rapidshare.com/files/104879865/SYS.rar)

Stripped to down basic required

B. SYS ported from 19209 Build. DOWNLOAD HERE (http://rapidshare.com/files/110830417/19209_Ported_SYS.rar) (Rapidshare Folder (http://rapidshare.com/users/2UPETQ/2)) This archieve is from my new ROM (XIP and SYS Ported to new build) Removed packages as per above ist

C. 19588 Build ROM Dump (OEM, SYS & XIP) DOWNLOAD HERE (http://rapidshare.com/users/A2CWPL). Thanks to Koko (http://forum.xda-developers.com/member.php?u=659207) for sharing this archieve (SYS, OEM & XIP)



Hi there Chef.
What should i do to upgrade OS Version of ROMs i cook ?
Sould i use the option (C) and incert it in the ROM im cooking ?
Im a noob cooker.
I believe you are a busy man,but can you please help me.
Thanks in advance for all help provided.

Ameet
16th June 2008, 05:36 PM
Hi there Chef.
What should i do to upgrade OS Version of ROMs i cook ?
Sould i use the option (C) and incert it in the ROM im cooking ?
Im a noob cooker.
I believe you are a busy man,but can you please help me.
Thanks in advance for all help provided.

all the versions mentioned are upgraded thats why they re posted ;) it depends on which one u want. to go for a newer version, u will need to port the build. now to know what porting means, u will have to read and learn from the forums :) the c is the dump posted by koko and frankly i have not used his base to cook so i dont know what he's got in it. so u will have to see for urself

and remember, what u do with ur device is ur choice. i am not responsible for what happens to ur device :D

cruzzmz
18th June 2008, 05:01 AM
are these the hd.dll and the os*.dll files? u can delete those two modules out of ur xip (gives u additional .07mb prog mem) without any fear. those files re only for the customer feedback function

yup i have deleted the dll files, but then still i have red lines on virtual tab if using XIP Addrs Tool ...
maybe there r conflicts?

kokotas
18th June 2008, 03:11 PM
are these the hd.dll and the os*.dll files? u can delete those two modules out of ur xip (gives u additional .07mb prog mem) without any fear.
Hey man!
After you delete them, what command do you use for buildxip.exe?
I think it is:
buildxip.exe -b -g
;[-g] => Remove Slot 0 dll gap.

Do you proceed without any parameters changed in building xip?
Regards!

Ameet
18th June 2008, 07:42 PM
Hey man!
After you delete them, what command do you use for buildxip.exe?
I think it is:
buildxip.exe -b -g
;[-g] => Remove Slot 0 dll gap.

Do you proceed without any parameters changed in building xip?
Regards!

i just proceed after deleting those modules... ;)

MickyMax
19th June 2008, 10:10 AM
Possible to do the same thing but with XIPPort.exe ? I've deleted these two modules too but I can't recover free space... :(

Ameet
19th June 2008, 04:33 PM
Possible to do the same thing but with XIPPort.exe ? I've deleted these two modules too but I can't recover free space... :(

didnt get ur question :( what do u wanna do with xipport tool? u cant recover free space, but u get additional .07mb space in available program memory

MickyMax
19th June 2008, 10:15 PM
didnt get ur question :( what do u wanna do with xipport tool? u cant recover free space, but u get additional .07mb space in available program memory

Thanks, I'll watch it.. :rolleyes:

{SBR}_L3GION
20th June 2008, 01:44 PM
i am am having trouble downloading the link in ervius's post for the build OS and package tools can somebody please post these tools else where.

Edit-nevermind found the link just took a lil more searching. here is the link if you would like to update your post.

http://rs74.rapidshare.com/files/107295406/buildos_package_tools-4.2b3.rar

!Aman!
20th June 2008, 02:04 PM
i am am having trouble downloading the link in ervius's post for the build OS and package tools can somebody please post these tools else where.

downlod here, the version 4.3b1:

http://www.mediafire.com/?zyxm2g4w7on
enjoy n happy porting :D

cruzzmz
21st June 2008, 08:59 AM
i am still stuck with conflict at this level

03edc000 - 03f4e000 L00072000 Virtual base address of crypt32.dll
03f4e000 - 03fe5000 L00097000 Virtual base address of coredll.dll
03fe4000 - 03fe5000 L00001000 !!!!!!!!!!!!!!!!!!
03fe4000 - 03ff2000 L0000e000 Virtual base address of certmod.dll
03ff2000 - 03ff6000 L00004000 Virtual base address of cecompr.dll


i have deleted the hd.dll & osaxst0.dll
done mreloc with XIP Addr Tool
used xipport to preloc, write map
changed the necessary value

BUT still stuck with conflict at coredll.dll :( anybody can help?

P/S: I am using Hermes xip.bin

!Aman!
21st June 2008, 09:02 AM
i am still stuck with conflict at this level


i have deleted the hd.dll & osaxst0.dll
done mreloc with XIP Addr Tool
used xipport to preloc, write map
changed the necessary value

BUT still stuck with conflict at coredll.dll :( anybody can help?

P/S: I am using Hermes xip.bin
can u upload ur xip.bin that u r trying to port and ur original xip folder or original xip.bin? also can u tell me the hermes ROM that u r trying to port from?

cruzzmz
22nd June 2008, 05:04 PM
can u upload ur xip.bin that u r trying to port and ur original xip folder or original xip.bin? also can u tell me the hermes ROM that u r trying to port from?

well i am trying to port 20266 ... i got the xip from a chinese forum seems like they have ported it successfully to hermes

i am porting this to my zinc

BTW
where do u put the /ROM folder in the ervius's kitchen? is it like below???? seems like it will always return error that the ROM folder not found, but i have put it in the folder ....

!Aman!
22nd June 2008, 05:35 PM
yes, thats the place to put ROM folder. OEM, SYS and ROM should be at the same place.

pls use the attached XIP&romhdr.bin alongwith payload file of zinc in ROM folder and then try if it works.

cruzzmz
22nd June 2008, 06:32 PM
yes, thats the place to put ROM folder. OEM, SYS and ROM should be at the same place.

pls use the attached XIP&romhdr.bin along with payload file of zinc in ROM folder and then try if it works.

can you give me the xip.bin or xip_out.bin?

BTW what do i do with the file u gave? what do u mean by payload file of zinc? care to explain ... sorry if it is a noob question

is it natural to get the error? no /ROM folder found???

!Aman!
22nd June 2008, 06:43 PM
can you give me the xip.bin or xip_out.bin?

BTW what do i do with the file u gave? what do u mean by payload file of zinc? care to explain ... sorry if it is a noob question

is it natural to get the error? no /ROM folder found???

payload file is the one which u get after using nbsplit.exe on os.nb
there should not be an error related to ROM, if there is an error it means something is wrong. try the xip_out.bin attached.

can u show me the screenshot of what's inside the ROM folder of urs when u get the error?

cruzzmz
22nd June 2008, 07:05 PM
payload file is the one which u get after using nbsplit.exe on os.nb
there should not be an error related to ROM, if there is an error it means something is wrong. try the xip_out.bin attached.

can u show me the screenshot of what's inside the ROM folder of urs when u get the error?

my error is in the MAP.TXT file where if u find lots of !!!! in means that u have conflict of addresses.
I usually use a tool XIP Addr Tool to do a mreloc of old & new xip
Then use xipport to undo, PReloc & write map.
Then I will inspect the MAP.TXT to see if there is conflicts.
Then change the psylast, ulRAMStart & ulRAMFree in the ROMHDR.TXT

!Aman!
22nd June 2008, 07:07 PM
no, i wanted to see the inside of ur ROM folder when u had "no /ROM folder found" error. i mean what r the files/folders inside it? do u always use ervius' buildos tool to cook?

cruzzmz
22nd June 2008, 07:13 PM
no, i wanted to see the inside of ur ROM folder when u had "no /ROM folder found" error. i mean what r the files/folders inside it? do u always use ervius' buildos tool to cook?

ok a lill bit of misunderstanding there ;)

It only have a XIP Folder & os.nb

is that correct???

BTW, the xip_out.bin, u have fixed the problem right?

!Aman!
22nd June 2008, 07:18 PM
i believe u need romhdr.bin, os.nb.payload and XIP inside ur ROM folder if u r using ervius's package tool to cook

cruzzmz
22nd June 2008, 07:20 PM
i believe u need romhdr.bin, os.nb.payload and XIP inside ur ROM folder if u r using ervius's package tool to cook

oh is it like that .... thanks for the info :D

BTW what was the problem with my xip porting?, could u also give me the xip.bin so that i can compare it with my last xip

Thx a lot ...

!Aman!
22nd June 2008, 07:25 PM
did u try my xip_out.bin? if u've ported the XIP successfully, only then i can explain :D

cruzzmz
22nd June 2008, 07:31 PM
did u try my xip_out.bin? if u've ported the XIP successfully, only then i can explain :D

ok i will try it tomorrow then ... off to bed for me now
check ur PM

lennysh
23rd June 2008, 02:44 PM
well i am trying to port 20266 ... i got the xip from a chinese forum seems like they have ported it successfully to hermes

i am porting this to my zinc

BTW
where do u put the /ROM folder in the ervius's kitchen? is it like below???? seems like it will always return error that the ROM folder not found, but i have put it in the folder ....

Can you link me to this ROM, or a 20266 ROM usable for porting?

cruzzmz
23rd June 2008, 03:19 PM
Can you link me to this ROM, or a 20266 ROM usable for porting?

see previous post, i have posted the ori hermes xip.bin that u can port to ur device ... happy porting :D

lennysh
23rd June 2008, 03:21 PM
see previous post, i have posted the ori hermes xip.bin that u can port to ur device ... happy porting :D

1. I was mainly referring to the SYS.

2. How do we know that this is a true version of 20266 XIP? And not just a 19949 XIP with a modified DSM to report 20266 Build Version?

3. What are the advantages of this XIP over the 19949 XIP?

cruzzmz
23rd June 2008, 05:40 PM
1. I was mainly referring to the SYS.

2. How do we know that this is a true version of 20266 XIP? And not just a 19949 XIP with a modified DSM to report 20266 Build Version?

3. What are the advantages of this XIP over the 19949 XIP?

1. i only have the xip file i am using the 19400 sys file over it

2. Well i dunno bout that but frm the forum it seems genuine ... it is a chinese forum that i often go to to get new xip ;)

3. I really dunno since i havent try it yet, maybe like the other builds we can just see diff in the responsive time ???

lennysh
23rd June 2008, 05:43 PM
1. i only have the xip file i am using the 19400 sys file over it

2. Well i dunno bout that but frm the forum it seems genuine ... it is a chinese forum that i often go to to get new xip ;)

3. I really dunno since i havent try it yet, maybe like the other builds we can just see diff in the responsive time ???

Kewl, maybe it'll make 19949 SYS faster...

Thanks again, and please post if you ever happen to find a link to the SYS for 20266...

cruzzmz
23rd June 2008, 06:41 PM
Kewl, maybe it'll make 19949 SYS faster...

Thanks again, and please post if you ever happen to find a link to the SYS for 20266...

r u planning to use 19949 sys? is it faster? ... i have it stored somewhere ... will have to try that ...
will post u the link if i get the sys file

lennysh
23rd June 2008, 06:45 PM
r u planning to use 19949 sys? is it faster? ... i have it stored somewhere ... will have to try that ...
will post u the link if i get the sys file
hehe

I've already fully ported 19949 to the Dell Axim X51v, Dell Axim X50v, and the HTC Apache...

And my HTC Titan/Mogul is running it as well... No2Chem's port...

So I have 4 devices with it running... And it does seem a little faster than 19588.

So let me know if you get 20266 SYS... Thanks..

cruzzmz
23rd June 2008, 06:54 PM
hehe

I've already fully ported 19949 to the Dell Axim X51v, Dell Axim X50v, and the HTC Apache...

And my HTC Titan/Mogul is running it as well... No2Chem's port...

So I have 4 devices with it running... And it does seem a little faster than 19588.

So let me know if you get 20266 SYS... Thanks..

faster cool hv to try that :D

MickyMax
23rd June 2008, 09:37 PM
Somebody of you has successfuly port the 19949's build to another language than english ?

cruzzmz
24th June 2008, 08:31 AM
Somebody of you has successfuly port the 19949's build to another language than english ?

i think they have the CHS version of it .... other than that i dunno

lennysh
24th June 2008, 11:49 AM
i think they have the CHS version of it .... other than that i dunno

If by CHS you mean Chinese, then No. I have the English Version.

cruzzmz
24th June 2008, 12:18 PM
i found one rom that uses 20226 sys ... but when try extracting it, it will return gibberish only ... i think most of the cooker now is a lill bit too protective of their own rom, no more freedom to recook :(

lennysh
24th June 2008, 12:21 PM
i found one rom that uses 20226 sys ... but when try extracting it, it will return gibberish only ... i think most of the cooker now is a lill bit too protective of their own rom, no more freedom to recook :(

It's hard, but there are some cook's that will share. It's not often, but all you can do is ask.

cruzzmz
25th June 2008, 03:44 AM
It's hard, but there are some cook's that will share. It's not often, but all you can do is ask.

i have asked .... some do reply back :)
good news i got 20226 SYS file .... ill PM u the link

:D

MickyMax
25th June 2008, 08:21 AM
Can you upload SYS and XIP please ? :)

Ameet
25th June 2008, 09:23 AM
sorry guys.. appreciate the effort, but lets keep this thread limited to porting guides and discussions ;)

cruzzmz
25th June 2008, 04:23 PM
sorry guys.. appreciate the effort, but lets keep this thread limited to porting guides and discussions ;)

cool mate .... sorry if there were OT sometimes ;)

voided
5th July 2008, 05:57 PM
Hi,

I have tried to port the XIP from 19199 to 19209, following your guide. After flashing, my elf won't even boot(stuck at the black screen, even before the boot logo show):eek:. Lucky, I can still go into boot loader mode and flash back a working room. Anyone experience this before and can shatter some light where i might have gone wrong? Thanks!

!Aman!
5th July 2008, 05:59 PM
Hi,

I have tried to port the XIP from 19199 to 19209, following your guide. After flashing, my elf won't even boot(stuck at the black screen, even before the boot logo show):eek:. Lucky, I can still go into boot loader mode and flash back a working room. Anyone experience this before and can shatter some light where i might have gone wrong? Thanks!
please list down the steps that u've taken to port the XIP. from the description, it looks like u changed something in OEMXIPKernel.

voided
5th July 2008, 06:37 PM
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!

!Aman!
5th July 2008, 06:45 PM
Copied the the new "romhdr.bin" and overwrite the existing one in the kitchen's ROM folder.
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.

voided
5th July 2008, 07:15 PM
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.


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... :(

!Aman!
5th July 2008, 07:26 PM
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... :(
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

voided
5th July 2008, 07:33 PM
ok...proceed like this...
1. dump new xip.bin with xipport.exe and chose to make packages.


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!

!Aman!
5th July 2008, 07:38 PM
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!

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.

voided
5th July 2008, 08:12 PM
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!

!Aman!
5th July 2008, 08:13 PM
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!
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.

voided
6th July 2008, 05:39 AM
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!:)

Ameet
6th July 2008, 08:03 AM
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!:)

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 :)

voided
6th July 2008, 09:45 AM
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 :)

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!!!

!Aman!
6th July 2008, 09:57 AM
which OEM did u use? ur xip porting cant be a problem.

voided
6th July 2008, 10:40 AM
which OEM did u use? ur xip porting cant be a problem.


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://forum.xda-developers.com/showthread.php?p=2000838&highlight=found+it%21+pls+ignore+querry#post200083 8. But I have no idea how...

!Aman!
6th July 2008, 10:45 AM
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://forum.xda-developers.com/showthread.php?p=2000838&highlight=found+it%21+pls+ignore+querry#post200083 8. But I have no idea how...
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 ;)

voided
6th July 2008, 12:17 PM
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 ;)

I have overwrite my OEM with the OEM extracted form this rom: http://www.dopodasia.com/download/RU...GREEN_Ship.exe (http://www.dopodasia.com/download/RUU_Elf_DOPODASIA_WWE_1.17.707.2G_4.1.13.46_02.97. 90_GREEN_Ship.exe) But my phone just stuck at the startup logo ...:(:confused:

!Aman!
6th July 2008, 12:29 PM
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

voided
6th July 2008, 02:19 PM
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

Tried all but none of these helps...

Ameet
6th July 2008, 02:38 PM
Tried all but none of these helps...

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

voided
6th July 2008, 04:16 PM
i hope u did fill up the OEM folder with ur drivers and languages and the OEMAPPS too

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 (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!

Ameet
6th July 2008, 04:30 PM
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 (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!

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

voided
6th July 2008, 05:25 PM
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

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

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

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. ;)


post the link from where u got this shipped rom.. ur link is incomplete

This is the link:): http://www.dopodasia.com/download/RUU_Elf_DOPODASIA_WWE_1.17.707.2G_4.1.13.46_02.97. 90_GREEN_Ship.exe

Ameet
6th July 2008, 05:39 PM
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...
Are you sure this is for Elfins? Check this link (http://forum.xda-developers.com/showthread.php?t=328181) 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 (http://rapidshare.com/files/109582368/2.20.720.2B.WWE.rar)) This one is my original dumped ROM that came shipped with my factory Elfin

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.
do that and post the results :)

This is the link: http://www.dopodasia.com/download/RUU_Elf_DOPODASIA_WWE_1.17.707.2G_4.1.13.46_02.97. 90_GREEN_Ship.exe
like mentioned above ;)

cruzzmz
6th July 2008, 08:31 PM
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 :(

Noonski
6th July 2008, 09:09 PM
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.

voided
7th July 2008, 01:57 PM
Are you sure this is for Elfins? Check this link (http://forum.xda-developers.com/showthread.php?t=328181) 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 (http://rapidshare.com/files/109582368/2.20.720.2B.WWE.rar)) This one is my original dumped ROM that came shipped with my factory Elfin

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

Ameet
7th July 2008, 02:03 PM
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

using the correct oem will make it work brother :) and also correctly porting the sys and xip helps

!Aman!
10th July 2008, 04:10 PM
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.

Ameet
11th July 2008, 08:42 AM
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.

i deleted the cpl module from fwupdate and it did get rid of the managed program :D tried, tested and using very nicely :)

!Aman!
11th July 2008, 09:25 AM
i deleted the cpl module from fwupdate and it did get rid of the managed program :D tried, tested and using very nicely :)
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

Ameet
11th July 2008, 09:59 AM
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

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 :)

!Aman!
11th July 2008, 10:12 AM
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 :)
would u be kind enough to take that responsibilty brother :p?

Ameet
11th July 2008, 11:25 AM
would u be kind enough to take that responsibilty brother?

: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 :)

spocky12
12th July 2008, 02:24 AM
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

Ameet
14th July 2008, 05:18 AM
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


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

boggsie
14th July 2008, 08:57 PM
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:


Inventory:
Tools you will need for porting the XIP

BuildOS+Package Tool by Ervius
XIPPort Tool by Bepe
M’Reloc Tool by Misar


... 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

!Aman!
14th July 2008, 09:36 PM
ababrekar:

I am not able to locate a 32k version of DumpRom.exe. Is this version of DumpRom available here in xda?


here u go mate ;)

boggsie
14th July 2008, 09:53 PM
here u go mate ;)

Ah, so nice - thank you!

Best regards,
-boggsie

cruzzmz
15th July 2008, 02:25 PM
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

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

tasomh
15th July 2008, 09:23 PM
@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 :)

spocky12
19th July 2008, 03:10 AM
@tasomh : Well, I'll do my best :)

@ababrekar : thanks for your answer, but I'm afraid screenshots will lead us nowhere : I have absolutely no errors with buildxip, apart from the fact that it builds a non bootable xip. As I said in my previous message, I tried dumping my original xip (using "dumprom xip.bin -5 -d xip") and then immediately rebuilding it with buildxip. It showed no error message but resulting rom wouldn't boot. New xip filesize is good, I can even dump it again, but then I can see in imagefiles.txt that it modified some o32_readaddr values although it shouldn't have, as no file had been changed.
I tried to contact bepe, perhaps he was unavailable, I have no answer so far.
Note that dumping my original xip with xipport and rebuilding it immediately leaded in a xip a little bit different from the original one (compared in hex editor), but resulting rom boots correctly.
If you need some more information to give me an advice on what I should do, don't hesitate to ask.

@cruzzmz : thank you for your help but I'm stuck with your method too :( :
As you may have read a few lines above, for the moment, xipport seems to be a little more promising than buildxip.
- 1st issue : Xip Address tool doesn't work on my french windows (Xp sp2 & vista tested). I've changed "xipaddrtools.ini" and put lang=2 and "browse for folder" & "ok" french text, but it still does as if I hadn't set this file. So I finally downloaded an english virtual pc windows image (the one to test internet explorer). There, the tool works as it should. And here are the steps I've done :
- Extracted my ks20 xip.bin (wm6.0 aku0.4.10) with xipport into xip_ref (this will be my reference folder)
- made a copy into xip_work
- Extracted 19202-xip.bin (wm6.1) with xipport into xip_temp
- made packages from xip_temp
- copied files/modules contained into MSXIPKernel & MSXIPKernelTLK of those packages into xip_work, replacing the old ones (note that 2 modules were not present in the original ks20 rom : initvmmap.exe & mencfilt.dll as they were not part of wm6.0). I copied them too, because they seem to be part of the boot process. Is it an error ?
- ran xip address tool. Had approximately 12 yellow lines. Some conflits disappeared when I hit space, but some didn't :
* initmap.exe & mencfilt.dll were yellow although they shouldn't be in conflict as they are not in xip_ref. Pressing space on those files threw an exception.
* filesys.exe kept its original value no matter the strength I used on my space bar :p (running mreloc directly did the same)
* hd.dll & osaxst0.dll faked to resolve : relauching Xip Address tool showed they were only pretending as they were yellow again (running mreloc directly, I had "wrong value in o32_realaddr" message)
- Then of course, xipport's Preloc and Map crashed...

If someone wants to test my xips and see by himself, here are download links :
- ks20-xip (http://spocky12.free.fr/tmp/ks20-xip.bin) (original ks20 xip from latest rom)
- 19202-xip (http://spocky12.free.fr/tmp/19202-xip.bin) (original 19202 xip found in a kitchen)
- xip_work (http://spocky12.free.fr/tmp/xip_work.rar) (original ks20 merged with 19202 msxipkernel*.* files, not relocated, aka "f%£ù£ng-Xip-why-won't-you-build-correctly").

Now, I'll pray someone can get me out of this dark wm6.0 xip place and lead me to the light of wm6.1 ;)

Jerrytish
19th July 2008, 06:46 AM
wow !what's tish? I don't konw.:rolleyes:

cruzzmz
19th July 2008, 06:58 PM
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

spocky12
19th July 2008, 09:38 PM
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.

cruzzmz
20th July 2008, 10:53 AM
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.

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

{SBR}_L3GION
28th July 2008, 01:45 AM
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.

Ameet
28th July 2008, 07:55 AM
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.

XIP PORTING GUIDE
Update: I have added pictorials in .pdf format at the end of this post. Too many pictures so the .pdf file ;)

Special thanks goes to Ervius for a lot of helpful guidance on porting XIP to a new build

Inventory:
Tools you will need for porting the XIP

BuildOS+Package Tool (http://forum.xda-developers.com/showpost.php?p=2072087&postcount=1)by Ervius
XIPPort Tool (http://forum.xda-developers.com/attachment.php?attachmentid=72181&d=1203754275)by Bepe
M’Reloc Tool (http://forum.xda-developers.com/showpost.php?p=1524413&postcount=1)by Misar

Procedure:
To make life more simple, I am attaching the XIP.bin extracted from Kaiser 19209 build ROM by Ervius. Dump the XIP.bin file with XIPPort tool and choose to make packages. Download from here (Rapidshare Folder (http://rapidshare.com/users/2UPETQ))

In the OUT folder, ignore or delete all the text files (.txt) These files are created by XIPPort tool only to know the physical addresses and are not required for porting

In files and modules folders, delete all folders except “MSXIPKernel” and “MSXIPKernelTLK” The modules and files from these folders are the only items which are to be ported to make a new build. DO NOT copy or replace any files and modules from OEMXIPKernel, as these are device specific

Now open the BuildOS+Package tool and on packaging page click open with option to choose dump folder. Select your original ElfIn XIP folder (OS 19199) and on right you will see the XIP in its directory structure. Don’t click on build packages (you can’t do it anyways, as package.sof file is not present in the XIP folder) Instead click on “OEMXIPKernel” and then right click to select export package. Choose to save on different location, like your desktop. This is only temporary requirement, just to be on safe side that you still don’t replace any files or modules seen in that folder

Now you copy and replace the files and modules seen in the “MSXIPKernel” and “MSXIPKernelTLK” from the new XIP in your original XIP folder, you need to copy and replace only those items found in your original folders, do not add anything new. Now compare each and every .rgu file from your new XIP with your original XIP and check if they are similar (NOT the .rgu files in “OEMXIPKernel”)

After all the files and modules are replaced and .rgu files checked, run the M’Reloc tool and check the modules addresses from your original XIP with your new XIP (Don’t do anything to the modules located in “OEMXIPKernel”) The addresses have to be similar to your original modules from your original “MSXIPKernel” and “MSXIPKernelTLK” folders

Changing of addresses through M’Reloc is not required if you are using the BuildOS+Package tool for cooking ROMs as Ervius has already included the address relocation system into his tool with BuildXIP

In a nutshell you need to follow the following copying & replacement structure and everything will work:
Original XIP (19199): OEMXIPKernel
Donor XIP (19209): MSXIPKernel and MSXIPKernelTLK

Replace this new XIP folder in ROM in Bepe's WM6.1 Elfin kitchen and cook to get 19209 Build XIP, HAPPY COOKING :)
Which part of this did you not understand? Can you edit your post to a bit more detailed question?

{SBR}_L3GION
29th July 2008, 09:56 PM
Which part of this did you not understand? Can you edit your post to a bit more detailed question?

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.

Ameet
29th July 2008, 10:05 PM
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.

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" :)

lennysh
29th July 2008, 10:07 PM
Eh, anybody got an EXE file for 20273?? Or an original dump? This packaged version from the Chinese website is not 100% 20273...

!Aman!
29th July 2008, 10:11 PM
Eh, anybody got an EXE file for 20273?? Or an original dump? This packaged version from the Chinese website is not 100% 20273...
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 ;)

{SBR}_L3GION
29th July 2008, 10:17 PM
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

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.

lennysh
29th July 2008, 10:18 PM
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 ;)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...

!Aman!
29th July 2008, 10:21 PM
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...
ohh, but its working great for my QVGA Touch ;)

lennysh
29th July 2008, 10:27 PM
ohh, but its working great for my QVGA Touch ;)
Can you select more than one email?

!Aman!
29th July 2008, 10:31 PM
Can you select more than one email?
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.