how to update sys and xip? - Touch Diamond, MDA Compact IV ROM Development

someone could post step by step how to update sys and xip?
I use kitchen Nataly tree. I tried greloc but gives an error. will have a corrupted file?
already thanks

Related

[UTIL]buildos+packagetools 4.2b3 ***more improvements (good xipporting!)***!!!

Hi , last version of buildos+package tools....
try 4.2b3 version now.....
Last version 29.04.2008
http://rapidshare.com/files/111296473/kitchen.zip
improved real xipporting with buildxip.exe...
how it works...
dump xip.bin from same or other device; so you have xip\ folder annd romhdr.bin.
copy xip\ folder just created into my buildos by clicking on:"New Xip"
and then by pressing on: "port it" and selecting all xip->same or different device xip, you finally have new xip build ported into my kitchen, ready to be builded into "out.bin" by buildxip executed by all "CREATE_ROM_xxx.bat" files building new rom.
Code:
this last version has also load/save config, so you can preconfigure from
ultralight to full rom, load a config file and only by a click you have the
preferred rom to build, so you can publish in a bit all kind of roms you want!!!
this tool goes into kitchen or bepe's WM 6.1 one, or WM 6.1 of mine...
try it and post new bat and \TOOLS utils to extrac xip from other devices to make better it..
and also bat and \TOOLS utils to extract os.nb from other devices....
(I think the bats have to named like: "EXTRACT_DUMP.......bat" example: Extract_dump_from_kaiser; extract_Dump_from_hermes ecc... )
ervius said:
Hi , last version of buildos+package tools....
added:
to extract xip for non trinity roms, at dump\ analyzing... it execute a bat file...
all bat files to extract xip are stored into \TOOLS folder, and must have a name that starts with: "XIP_extract" example: XIP_extract_From_hermes.bat; XIP_extract_from_trinity.bat ecc....
try it... obviously there are a lot of devices, you can try for yours and post the bat to make bettere xip extracting of buildos , inside \tools folder, yet XIP_extract_from trinity.bat and XIP_extract_from_kaiser.bat
TODO:
extract from os.nb by other devices from executing others bat like xip extracting...
bye!
download here:
http://rapidshare.com/files/103757462/buildos_3.9b3.rar
try it and post new bat and \TOOLS utils to extrac xip from other devices to make better it..
and also bat and \TOOLS utils to extract os.nb from other devices....
(I think the bats have to named like: "EXTRACT_DUMP.......bat" example: Extract_dump_from_kaiser; extract_Dump_from_hermes ecc... )
Click to expand...
Click to collapse
Can you give us a description of your cooking?
cyron_at said:
Can you give us a description of your cooking?
Click to expand...
Click to collapse
to dump an nb file....
it need \dump folder and os.nb
outside folder.... open package tools.... and can rebuild oem\ and sys\
if you want you can insert also \xip folder using inside \tools bats....
choicing what device is from the os.nb and choice the right bat included, listed into a form with a max of 16 radiobutton to choice bat....
to build rom:
only open buildos choice rom dumped (oem\ sys\ xip\)
and it rebuild \dump folder, then, by executing a bat (that you can change to your use (also this can be implemented: more bats to have multidevices rombuilder....) and finally you have new os.nb or executing also ruu_updates_rom, the windoe to flash new ruu_signed).....
bye!
ervius said:
to dump an nb file....
it need \dump folder and os.nb
outside folder.... open package tools.... and can rebuild oem\ and sys\
if you want you can insert also \xip folder using inside \tools bats....
choicing what device is from the os.nb and choice the right bat included, listed into a form with a max of 16 radiobutton to choice bat....
to build rom:
only open buildos choice rom dumped (oem\ sys\ xip\)
and it rebuild \dump folder, then, by executing a bat (that you can change to your use (also this can be implemented: more bats to have multidevices rombuilder....) and finally you have new os.nb or executing also ruu_updates_rom, the windoe to flash new ruu_signed).....
bye!
Click to expand...
Click to collapse
...it need \dump folder and os.nb
-> which means I should extract rom?
--> How can I do this?
---> I am using the tools of RomDonald. Is this ok?
From the tool:
1.) Open: There I select my \Dump\folder
2.) How can I rebuild oem/sys?
Questions over questions...
Would you be so kind and make a few screen-shots?
I would be veryyyyyy happy!
Thx,
Chris
cyron_at said:
...it need \dump folder and os.nb
-> which means I should extract rom?
--> How can I do this?
---> I am using the tools of RomDonald. Is this ok?
From the tool:
1.) Open: There I select my \Dump\folder
2.) How can I rebuild oem/sys?
Questions over questions...
Would you be so kind and make a few screen-shots?
I would be veryyyyyy happy!
Thx,
Chris
Click to expand...
Click to collapse
read also this 3d...
http://forum.xda-developers.com/showthread.php?t=320504
Once XIP is extracted, what exactly gets done to port the XIP to trinity?
Thank ERVIUS
Very good tools ...
4.0b1 is borning, what about???
now:
1) it can dump os.nb from different devices (kaiser / hermes/trinity for now!) executing differents bat made just to dump them...
2) extract xip from different devices (kaiser/hermes/trinity for now!) by executing different bats made just to extract them...
3) build os (for trinity/hermews also ruu_signed.nbh) for different devices (kaiser/hermes/trinity for now)
I think tomorrow, ops today in the afternoon, I'll post it....
what I need???
that someone make some bats to dump/build os.nb for other devices, and bats to extract xip from other devices....
bye!!!
Build Packages,..
Hello!
There is an "error" while building packages:
When I say: Do not import XIP..-> There is no XIP folder in the rom -> Load rom does not work
When I say yes & import from trinty there is an error message :-(
However the XIP folder will be created. But the boot.rgu ... is not the boot.rgu from the origial rom. What must I do now?????
Any idea?
Thx
cyron_at said:
Hello!
There is an "error" while building packages:
When I say: Do not import XIP..-> There is no XIP folder in the rom -> Load rom does not work
When I say yes & import from trinty there is an error message :-(
However the XIP folder will be created. But the boot.rgu ... is not the boot.rgu from the origial rom. What must I do now?????
Any idea?
Thx
Click to expand...
Click to collapse
yes, wait the 4.0b1....
and test that one....
ervius said:
yes, wait the 4.0b1....
and test that one....
Click to expand...
Click to collapse
Sure! When do you think will the release be published?
cyron_at said:
Sure! When do you think will the release be published?
Click to expand...
Click to collapse
some minutes, I'm upping 19209 Italian kitchen that contains buildos-packagetools 4.0b1!!!
ervius said:
some minutes, I'm upping 19209 Italian kitchen that contains buildos-packagetools 4.0b1!!!
Click to expand...
Click to collapse
Thanks Ervius... Great News!!! i will test it tonight.
axl79 said:
Thanks Ervius... Great News!!! i will test it tonight.
Click to expand...
Click to collapse
yes...
if I'll able to upload it....
some connectivity problems.....
buildos is online.... version 4.0b2.....
to insert imto kitchen...
bye!
ervius said:
buildos is online.... version 4.0b2.....
to insert imto kitchen...
bye!
Click to expand...
Click to collapse
added v2 version of 4.0b1, some bugs solved on CREATE_ROM_***.bat executing...
ervius said:
added v2 version of 4.0b1, some bugs solved on CREATE_ROM_***.bat executing...
Click to expand...
Click to collapse
Thank you.. Really nice tool! Trying tonight!
hey ervius I can use this tools to build a 19209 rom? Are you going to release your versions?
GDT said:
hey ervius I can use this tools to build a 19209 rom? Are you going to release your versions?
Click to expand...
Click to collapse
yes, you can, I posted kitchen until this afternoon, and don't know if I'll post the 19209 rom...
version 3 in 1st post...
some improvements, soved other little bugs, added "execute CREATE_ROM_***.bat" flag by default and context menu to delete files on "search duplicete files" into rgu editor...
bye!

Clean Rom in SYS & OEM Folders --Wanted--

Can Sombody Please Post a clean fast rom in OEM and SYS folder format, so that it is ready for cooking with as i cannot seem to find one that will extract with core's kitchen, all i can get to extract is the t-mobile ofical rom and this is far from clean
YuE v10 or v11 would be a good choice.
i second this, urgently - a plea to all cooks!!!
greetz
well i dumped the extraclean 10 but still i'm figuring out how to modify it
any advise?
y_bother said:
well i dumped the extraclean 10 but still i'm figuring out how to modify it
any advise?
Click to expand...
Click to collapse
I now trying to collect it all ;-)
Here is the tools, RRU and BuildRom.bat with Empty SYS OEM and ROM folders foryou chefs to fill with food needed to build a clean rom if this is of any help for testing purposes
http://rapidshare.com/files/149197230/Sys_Oem_Empty.rar.html
sleurhut said:
I now trying to collect it all ;-)
Click to expand...
Click to collapse
Please let us know how to do it when you have worked it out.
I have tried and when i came to build I just got errors with XIP and i also had missing files, os.nb.payload romhdr.bin
solved the os.nb.payload by renaming os.nb to os.nb.payload
copied the romhd.bin from artemis_diamondish
XIP errors with
Code:
BUILDXIP 0.54 Copyright (c) 2007-2008 bepe 30 Jan 2008
ERROR: "XIP" dose not exist or it dose not contain any Modules!
I used extract xip in the core's kitchen and xip is in the ROM folder
Any ideas?
OK So now I just Copied XIP from Artemis_Diamondish and the rom builds
so how do i get the correct XIP For this Rom?
EDIT:
This plan didn't work
Anyone managed this yet
thanks

20924, Sys and Xip, Big bug help.

Hi all, i have complety translated, .rgu / .dsm / .bmp / dpi 96 to 192 / 0409 to 0406.
from 20924.
But, when i cook it, and flash my phone, it dosen't book. I can see the version, but i can't not come to wm6 startscreen.
Do some1 know what it could be ?
Could some1 please look at my files maybe :/?
http://rapidshare.com/files/161467646/sys.rar
Bump, no one want to look in it and help me ??
Search for and download a tool called G'reloc.
A common issue with ported OS builds is that they fail to boot due to improperly coded/placed files. G'reloc will fix this for you. Just run it right before cooking, and then once compiled and flashed, your ROM should boot fine.
*You will need to find the correct codes for G'reloc and a Diamond ROM. I have only used this tool on the Kaiser, so I cannot tell you what they are.
NotATreoFan said:
Search for and download a tool called G'reloc.
A common issue with ported OS builds is that they fail to boot due to improperly coded/placed files. G'reloc will fix this for you. Just run it right before cooking, and then once compiled and flashed, your ROM should boot fine.
*You will need to find the correct codes for G'reloc and a Diamond ROM. I have only used this tool on the Kaiser, so I cannot tell you what they are.
Click to expand...
Click to collapse
As I can see, my package builder+buildos run it before it is done.
But anyway, could allways try it ), what shall i put in ? Some1 knows it ?
danny_and_2 said:
As I can see, my package builder+buildos run it before it is done.
But anyway, could allways try it ), what shall i put in ? Some1 knows it ?
Click to expand...
Click to collapse
I tried using a newer BuildOS for the Kaiser that included G'reloc, and it never worked properly. I would run G'reloc on it's own, and then uncheck the box to run it as part of BuildOS.
If those values are auto filled in for you, then give it a shot with them. Worst case, the phone still doesn't boot.
NotATreoFan said:
I tried using a newer BuildOS for the Kaiser that included G'reloc, and it never worked properly. I would run G'reloc on it's own, and then uncheck the box to run it as part of BuildOS.
If those values are auto filled in for you, then give it a shot with them. Worst case, the phone still doesn't boot.
Click to expand...
Click to collapse
Yes they just came automatic, so. Yes i will try that one, will report back if it dosen't
--- Edit ---
I couldn't i get an I/O error 105. ? Some1 knows what this it ?
--
Run-time error 105: File not open for output.
This error occurs if you try to use standard input and output functions
like Readln and Writeln without the Uses WinCRT; statement.
To correct this error, add Uses WinCRT; to your program.
How exactly did you translate the 96.DPI files?
Safe yourself the headaches and use the Diamond 1.96 as a base.
That would give you all the SYS 192 dpi files you need.
Are you making the ROM true 0406?
Or just translating or renaming the 0409.mui files?
Noonski said:
How exactly did you translate the 96.DPI files?
Click to expand...
Click to collapse
I have copyed the files from the diamond (192) to it.
Noonski said:
Safe yourself the headaches and use the Diamond 1.96 as a base.
That would give you all the SYS 192 dpi files you need.
Click to expand...
Click to collapse
I also would, but it ain't released on danish
Noonski said:
Are you making the ROM true 0406?
Or just translating or renaming the 0409.mui files?
Click to expand...
Click to collapse
I have copied the danish 0406.mui files, and changed it in every .rgu and .dsm file.
Bump, bump, bump.
Must be some1 out there, there can help me find my mistake ;/
danny_and_2 said:
Must be some1 out there, there can help me find my mistake ;/
Click to expand...
Click to collapse
HI
For port this os build i've made this:
first try to port only the xip
Delete folder from your old working kitchen:
MSXIPKernel
MSXIPKernelLTK
AND OEMXIPKernel if exist
Delete your old OS.NB in ROM folder of your kitchen
Now you need to Extract OS.NB From a diamond ROM 20924 protected or not !
(My rom for exemple)
take the 20924 OS.NB in your ROM folder
then just cook with your old sys and oem folder without the folder mentioned on top. flash & verify xip version.
if this work ,change your sys with the 20924 you have
but keep some files from your old working sys
if i have a good memory i've keep this:
.ROM folder
.VM folder
.Metadata folder
.hd.dll folder
.osaxst0.dll folder
.gwes.exe folder
possible some other files...
if you have Greloc error replace files mentioned in error
try this.
ask if you need help
xboxmod said:
HI
For port this os build i've made this:
first try to port only the xip
Delete folder from your old working kitchen:
MSXIPKernel
MSXIPKernelLTK
AND OEMXIPKernel if exist
Delete your old OS.NB in ROM folder of your kitchen
Now you need to Extract OS.NB From a diamond ROM 20924 protected or not !
(My rom for exemple)
take the 20924 OS.NB in your ROM folder
then just cook with your old sys and oem folder without the folder mentioned on top. flash & verify xip version.
if this work ,change your sys with the 20924 you have
but keep some files from your old working sys
if i have a good memory i've keep this:
.ROM folder
.VM folder
.Metadata folder
.hd.dll folder
.osaxst0.dll folder
.gwes.exe folder
possible some other files...
if you have Greloc error replace files mentioned in error
try this.
ask if you need help
Click to expand...
Click to collapse
Hi there.
Thanks for you guide, I'll try it right away.
And I will say if I run into a problem.
xboxmod said:
HI
For port this os build i've made this:
first try to port only the xip
Delete folder from your old working kitchen:
MSXIPKernel
MSXIPKernelLTK
AND OEMXIPKernel if exist
Click to expand...
Click to collapse
They aren't in my kitchen with this rom. Don't know why.
xboxmod said:
Delete your old OS.NB in ROM folder of your kitchen
Now you need to Extract OS.NB From a diamond ROM 20924 protected or not !
(My rom for exemple)
take the 20924 OS.NB in your ROM folder
then just cook with your old sys and oem folder without the folder mentioned on top. flash & verify xip version.
Click to expand...
Click to collapse
It boot, and it works. Haven't looked so much on the rom, just verify'ed the xip version.
xboxmod said:
if this work ,change your sys with the 20924 you have
but keep some files from your old working sys
if i have a good memory i've keep this:
.ROM folder
.VM folder
.Metadata folder
.hd.dll folder
.osaxst0.dll folder
.gwes.exe folder
possible some other files...
Click to expand...
Click to collapse
I have tried what you said, but the mobile just won't boot, and i don't know why ! /:
I think i need some more files?
xboxmod said:
if you have Greloc error replace files mentioned in error
Click to expand...
Click to collapse
I don't have that.
have a look here :
http://forum.xda-developers.com:80/showthread.php?t=379598
TekTonik said:
have a look here :
http://forum.xda-developers.com:80/showthread.php?t=379598
Click to expand...
Click to collapse
Hi there, trust me. I have looked the thread many times ..
Anyway, i got an update.
I have get the phone to boot, with the orginal OS & OSFILES.. Now i just need to find what files i need to have, to get it boot..
But i still got a bug, when it boot, touchflo3d won't start, it just skips. ?
The problem you are facing might be (99%) because of improper XIP porting. Just for suggestion, go through my XIP porting guide (in my signature) and try again with a working 20924 XIP (if you cant find one then I'll up the xip.bin from which I ported and am using)
Using original OS folder would not qualify as SYS porting If you check the SYS build no, you will see the original no and not the ported build
ababrekar said:
The problem you are facing might be (99%) because of improper XIP porting. Just for suggestion, go through my XIP porting guide (in my signature) and try again with a working 20924 XIP (if you cant find one then I'll up the xip.bin from which I ported and am using)
Click to expand...
Click to collapse
Hi there.
I finally got it to work (more or less), someone, know the files i have to keep in the shell ?, it wont lunch flo3d. :S ?
Some1 know why ?
ababrekar said:
Using original OS folder would not qualify as SYS porting If you check the SYS build no, you will see the original no and not the ported build
Click to expand...
Click to collapse
But i needed to find out, witch folder there was stopping me from booting, and that was my answer , now i just need to find out what files i have to keep, and there are only 587 files..
I will report back soon
anything new about an issue, I try to port build 20757 from BlackStone and I'm facing the same problem too : replacing SYS only doesn't boot

[i780] How to rebuild XIP

I've dumped XIP of I780, and rebuild XIP by using 20940 xip.
Now, I found that the the XIP_Out.bin was larger than original xip.bin.
I just imported the xip_out.bin into 780.nb0.os.nb, and finally convernt it into flashable file. Then I found that the flashable file was 0.01Mb larger than the original flashable file. Well, I still flashed it, and found that the mobile stopped at the first screen.
Is there a way to make the xip_out.bin smaller? Or a someone can give me some instructions about rebuild xip for I780? Many Thanks.

Asus WM6.5 Porting

I'm trying to port my Asus P565 (XDA Zest) to WM6.5. This is my first attempt at cooking a ROM and I'm a little stuck - I just can't get the device to boot after flashing.
These are the steps I have done so far:
1. Used p835abisplit2 to extract Original WM6.1 P565 ABI into os.nb0
2. Extracted XIP from os.nb0
3. Extracted imgfs dump from hdubli's 21231 ROM
4. Ported XIP using XIP Kitchen, original XIP as Device XIP, 23022 as Donor XIP & hdubli's 21231 .VM & .ROM folders
5. Padded XIP to original size using bPatch.exe
6. Copied SYS from 23022 into Vivi's P252 kitchen & rebuilt using BuildOS
7. Created imgfs.bin from dump folder
8. Merged XIP.bin back into os.nb0
9. Merged imgfs.bin back into os.nb0
10. Converted to .abi & flashed to device
And I can't get it to boot no matter what. As I said, I'm a n00b to cooking ROMs, so if someone could point out where I'm going wrong I would be eternally grateful!
Blade0rz said:
I'm trying to port my Asus P565 (XDA Zest) to WM6.5. This is my first attempt at cooking a ROM and I'm a little stuck - I just can't get the device to boot after flashing.
These are the steps I have done so far:
1. Used p835abisplit2 to extract Original WM6.1 P565 ABI into os.nb0
2. Extracted XIP from os.nb0
3. Extracted imgfs dump from hdubli's 21231 ROM
4. Ported XIP using XIP Kitchen, original XIP as Device XIP, 23022 as Donor XIP & hdubli's 21231 .VM & .ROM folders
5. Padded XIP to original size using bPatch.exe
6. Copied SYS from 23022 into Vivi's P252 kitchen & rebuilt using BuildOS
7. Created imgfs.bin from dump folder
8. Merged XIP.bin back into os.nb0
9. Merged imgfs.bin back into os.nb0
10. Converted to .abi & flashed to device
And I can't get it to boot no matter what. As I said, I'm a n00b to cooking ROMs, so if someone could point out where I'm going wrong I would be eternally grateful!
Click to expand...
Click to collapse
Use the original 6.1 abi to get OEM and SYS
USe the OEM and use 6.5 SYS from the builds here
Use the scripts which I have mentioned
u can get ROm to boot
hdubli said:
Use the original 6.1 abi to get OEM and SYS
USe the OEM and use 6.5 SYS from the builds here
Use the scripts which I have mentioned
u can get ROm to boot
Click to expand...
Click to collapse
What about P552w? Are the step same as P565?
And How to add the language packages into the list?
Because, It's not suitable to use ervius Kitchen to process Asus ROM
Oh, where could I get the hdubli's scripts?
Moreover... May I know the minimum file list in OEMMISC for making cleaner ROM?
i.e. without Youtube&Flickr, ClearVue PDF Viewer, Asus Today, Asus Launch!, EziMusic, EziPhoto and StreamingPlayer
I have copied OEM packages from 6.1 ROM & SYS from 6.5 ROM into Kitchen & built OS. Still nothing. Do I need to copy anything from new/old XIP into kitchen? Does anything else need to be done to XIP after I port it via XIP Kitchen? I took out hd.dll, osaxst0.dll, mencfilt.dll and cachefilt.dll as there wasn't enough space in the XIP - does this matter?
Also, I am using the .VM file from your ROM for G'Reloc.
I think I'm missing one crucial step somewhere
Nagato - I think P552w should be the same process, only using different SYS DPI. For languages you need the appropriate SYS files for your language from Da_G's thread here:
http://forum.xda-developers.com/showthread.php?t=544445
(See also Post #4 for how to integrate these)
The tools used are:
p835abisplit2.exe - To extract os.nb0 from .abi
osnbtool.exe - To extract IMGFS, XIP & ExtROM from os.nb0
XIP Kitchen - To port 6.1 XIP to 6.5

Categories

Resources