Asus WM6.5 Porting - Upgrading, Modifying and Unlocking

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

Related

[2011Oct13] LG Kitchen 2.3

Here is the updated version of my Lg multidevice kitchen. It now supports :
- ks20
- ct810
- gm730
- gm735
- gm750
- gw820
- vs750
::These tools have been made thanks to: MisterJp, CopsFrance, Teoami, Bepe, Ervius, No2Chem, Da_G, Cmonex, Jayautros
This kitchen is now built around ervius visual kitchen for bepe's platform rebuilder. I don't really like write a lot, so I won't explain every option in details, nor will I write a "how to cook roms for dummies", it's already been done in the past, if you know how to search, you'll find very interesting threads on it on this forum.
Kitchen options (use "*" to switch between standard and advanced options)
SELECT DEVICE
::1-KS20 2-Incite ...
Needed for every operation below, don't forget to set it.
DUMP FUNCTIONS
::a- Extract DZ File
Extracts baserom\rom.dz file into baserom folder
::t- Extract BIN ROM File
Extracts baserom\rom.bin file into baserom folder (for vs750)
::b- Extract Flash.bin
Extracts baserom\flash.bin into builtrom\temp, creating directories if they don't exist.
::c- Dump imgfs.bin
Extracts content of builtrom\temp\part_2_imgfs.bin file to temp\dump, allowing you to edit windows files.
::d- Dump bin.bin
Extracts content of builtrom\temp\part_1_rawfs.bin to ROM\XIP
::e- Launch ErviusKitchen
Launches ErviusKitchen, allowing you to modify and generate a new rom
BUILD FUNCTIONS
::f- Build imgfs.bin
Creates new imgfs from temp\dump folder to builtrom\temp\imgfs.bin
::g- Build flash.bin
Generates a new flash.bin into builtrom folder based on builtrom\temp directory and new imgfs.bin
::h- Build rom.dz
Generates a new rom.dz into builtrom folder based on baserom mbns and new flash.bin
::u- Build rom.bin
Generates a new rom.bin into builtrom folder based on baserom mbns and new flash.bin (vs750)
::i- Build flasher
Generates a new rom.exe into builtrom folder based on rom.dz (only available for Incite)
XIP PORT
::j- Launch XipPort
Launches XipPort, allowing you to modify and generate a new xip
::k- Reloc Xip
Relocates xip after you've changed it using XipPort
::l- Use New Xip in Build functions
Allows you to use the Xip built with XipPort when building flash.bin (either from the kitchen or directly from ErviusKitchen)
::m- Restore original Xip in Build Functions
Allows you to use the original Xip when building flash.bin (either from the kitchen or directly from PkgToolsBuildOs)
Kitchen use:
Select the device you want to cook for (1=ks20, 2=incite...)
Take a dz file, and put it into baserom\(your device name) (KS20, incite, gm750...).
run start.bat
execute a, b, c, kitchen options
now copy temp\dump\sys into \sys\(your sys version), and arrange the files so that it looks like the \sys\20755 folder. Do the same with OEM folder (copy it to \OEM\(your device name).
execute d, and arrange xip folders : copy the content of your oemxipkernel into rom\(your device name)\(your ip version) and everything else into rom\shared\(your xip version)
go into tools\xipport. Launch xipport. Click "dump xip.bin"
OPTIONAL : If you want to port xip to another version click "make pkgs". Now replace modules\msxipkernel* and files\msxipkernel* with the ones from the newer xip. Click "undo".
execute Kitchen "k" and when a message tells you so, click "realloc p", "write maps", "build xip_out.bin". And finally, hit a key on the dos prompt to finish this step (DO NOT HIT A KEY BEFORE BUILDING XIP WITH XIPPORT ELSE IT WON'T WORK).
execute Kitchen "l" to use this xip.
execute "e" to launch ervius kitchen. Then select your device, language, ext, rom dpi, rom res, xip build and sys build. Choose the packages you want to include (for your convenience, I included a few packages tweaks and fixes in EXT\(your device name). Eventually click the "create" button.
Optional for Ks20, required for Incite : execute step h to produce a rom.dz file.
Now enjoy your new creation in builtrom\(your device name).
If you want to make a 1st rom easily, or if something went wrong and you want to verify you've done everything correctly, I'm also providing 2 packages (1 for KS20, 1 for Incite) with almost every step already done. They're very similar to the roms I made (xCite2b, KisS20.4). Download the package you want, extract it into your kitchen folder, then :
- Execute step "B" to generate a few files
- Execute step "E" to launch Ervius kitchen
- Optionnaly, try to rebuild xip part with step "K" and "L" (1st rename xipport\out.INCITE.21046 to xipport\out) (I'd suggest doing this only after building a 1st working rom)
- Click Load and select the preset for your device (INCITE_0409_20755 or KS20_409_20755).
- Click create (and for incite users, execute step "H" of the kitchen to produce a rom.dz).
That's it.
If every step was successful, you should have a flash.bin file in builtrom\(your device name) folder and optionnaly a rom.dz.
KS20 : Then just flash with lgmdp your baserom directory and just change flash.bin path from baserom\flash.bin to builtrom\flash.bin.
Incite : either use the usual way (rom.dz replacement) to flash your device or execute step "i" to produce a rom.exe with teoami tools.
Congratulations, you've just flashed your first LG <insert the name of your device here> cooked rom
Before you ask :
- I chose 20755 build because it's proven to be bugfree for Ks20 and Incite (and build is smaller too), if you understood the process, you should be able to build a rom for any wm build.
- Ks20/Incite Packages contain latest available oem parts (spanish 10e unbranded for the Ks20, 10x for the incite). (Incite is the clean version, if you want the full stock oem, just dump imgfs.bin)
- Base kitchen Ext folder contains everything to build a bugfree 20755 rom.
- If you want to make the same thing for wm6.5, just download a wm6.5 build.xip somewhere and replace the files in the kitchen.
- 20755 folder is not in the basic kitchen anymore, but I've made another archive that you can download if you need it.
- as for vs750 roms, you need to use bin (decrypted) files (not wdb). Don't forget to replace step "a" with "t" and step "h" with "u" in the tutorial above. You will need the decrypted roms available in the bottom of this post.
I'm just asking you 1 thing : if you make changes to this kitchen to improve it, please, share what you've done (and of course, if you're using it, you can also buy me a beer)
Kitchen history:
v2.3 [2011-10-13] - Added (partial: can't decrypt roms for now) support for VS750 roms.
v2.2a [2010-05-10] - Added support for GM735 WM6.5 roms, corrected a bug in GM730 rom creation.
v2.2 [2010-04-22] - Added support for many devices, updated almost every tool to latest version, build process is faster than before
v2.0 [2009-07-09] - Changed to ervius visual kitchen for bepe's platform rebuilder, multidevice support (ks20, Incite). New tools, rewrote almost everything.
v1.1 [2008-08-25] - Added Xip Port and Tools sections
v1.0 [2008-07-15] - Initial revision
Download Links:
Vogica v2.3, the LG multidevice Kitchen
Incite addon / Ks20 addon
Sys 20755
VS750 v5 decrypted rom
VS750 v7 decrypted rom
Old releases :
Vogica v2.2a, the LG multidevice Kitchen
Vogica v2.0, the LG multidevice Kitchen
Vogica v1.1, the KS20 Kitchen
Useful Links:
LG KS20 custom rom KisS20 (UC, WM6.1)
LG Incite custom rom xCite (UC, WM6.1/6.5)
Thank you MisterJP and you. You made some very good work for the coocking of the KS20.
Thanks to both.
nice tool !
but
Code:
cls
set choice=
cd BuiltROM\temp
..\..\TOOLS\LGFlashMuncher.exe -c ..\flash.bin -e Header.bin -0 part_0_BOOT.bin -1 part_1_RAWFS.bin -2 imgfs.bin ..\..\BaseROM\flash.bin
cd ..
pause
GOTO :start
:9
cls
set choice=
cd BuiltROM\temp
..\..\TOOLS\LGFlashMuncher.exe -c ..\flash.bin -e Header.bin -0 part_0_BOOT.bin -1 part_1_RAWFS.bin -2 imgfs.bin ..\..\BaseROM\flash.bin
:8
the new xip.bin don't Insert !!!
it shoud be
..\..\TOOLS\LGFlashMuncher.exe -c ..\flash.bin -e Header.bin -0 part_0_BOOT.bin -1 xip.bin -2 imgfs.bin ..\..\BaseROM\flash.bin in :9 ?
good....a nice start........and thanks
Thanks for your great job! Hoping that KS20 will have its Cook Rom & WM6.1 at last!
waiting for wm6.1 on my lovely ks20
is this the most actual thread to the ROM cooking stuff
Would like to use french 1f ROM but cook German language into it
Greet`s Erich
I have made a flash.bin with language in german for the ROM HKG 10a, which is in normally in english. So, the HKG 10a is newer than the French 10f. Why to use an older ROM? Find the flash.bin here:
http://rapidshare.com/files/131832687/flash.zip.html
Thank you itapower
many thanx!
Is there something I have to take care of?
Or can I flash it like I flashed the ROM from 10b to 10e?
Did you just change the language or also other stuff?
Is this ROM running without troubles?
Is it locked or branded?
I have unlocked KS20 with vodafone branding right now,...
Greet`s erich
changing language of ROM
don`t know why nobody from the pros is responding
Most of my questions I figured out yesterday - but I am very curious how to change the language of a ROM be myselfe
This I couldn`t figure out
Hope someone can tell me which of the 10 .mbn Files I have to change or is the language in the .bin
Greet`s Erich
Basically, you need to extract the flash.bin, replace *.409* folders with *.407* versions (407 is for germany) that you may find in another rom. That's not a trivial operation, although the kitchen helps a lot. There are tutorials here that explain this with more details (search for "translate" ou "localize" rom).
more questions
Hello spocky12!
I got really interested in cooking ROMS while playing around with the kitchen
But I don`t get the difference between "flash.bin" and "imgfs.bin"
What is included in which .bin
When the *.409* folders are replaced with *.407* and the ROM is cooked
is it enough to flash the "flash.bin" to the KS20 without the "imgfs.bin"
Another question is the Registry tweaking - which I wanna do.
You have a folder in the kitchen "Packages\OEM_Registry Tweaks Pack" there are 3 files.
Is the name random or how is the convention?
The .dsm file is Hex - what is it for?
Is it enough to edit the .rgu file?
When cooking the ROM does it include the changes I perform in the .rgu file?
Hope you help me understanding this a bit better
Greet`s Erich
@eriche : follow step by step the kitchen tutorial, you should see clearer.
- Imgfs.bin is a file contained inside flash.bin (as xip.bin and a few other).
- The files you need to modify are inside imgfs.bin
So what you need to do is:
1- extract dz to obtain *.mbn and flash.bin
2- extract flash.bin to obtain imgfs.bin, xip.bin...
3- extract imgfs.bin to obtain WM files
4- change files
5- rebuild imgfs.bin
6- rebuilt flash.bin
7- flash new flash.bin + original mbn files.
For Registry tweaks, you can directly change rgu file in OEM_Registry Tweaks Pack. When you rebuild you imgfs, it will be automatically added to system registry so you dont need to create a new package.
7- flash new flash.bin + original mbn files.
Click to expand...
Click to collapse
Isn`t it possible to flash only the .bin file
With original .mbn files you mean the one from the Base Image where I change the language or the Image where the Language is included
Greet`s Erich
You should be able to flash only flash.bin but I can assure that you won't crash your phone.
To flash, you only need partition.mbn and flash.bin but if partition.mbn differs from your actual ks20 partition (that is, if your actual rom mbn don't come from the same dz than your cooked rom), there's a chance that flash.bin overlaps something else on you phone. So it's secure only if you've already flashed the same mbn and the same partition.mbn before. If not, I can't say, maybe it is, but not for sure.
So as I wrote on first post, to flash, select baserom as rom folder. Each mbn line will automatically populate and the just change the path to flash.bin to your newly built flash.bin (which is in builtrom if you use the kitchen).
language cooking not easy - but I don`t wanna give up!
oh god - it`s not that easy
I don`t know in which step I have to replace the Language folders
With HK-ROM (newer ROM) I did step a-e = 1-8
With GER-ROM (language ROM) I also did a-e = 1-8
but then I have 77 ".0407" and 59 ".409" folders
so why is this? Different languages have different folder amount?
Or should I change the language after step "d" ??
looking forward to bring light inside
EDIT:
I used "PKGToolsBuildOS" (step e) to change the language.
But this tool brings following message
Not copied: OEMBT_Lang_0407! No \SYS\ folder corrisponding...
Not copied: OEMVVS_Lang_0407! No \SYS\ folder corrisponding...
Click to expand...
Click to collapse
Don`t know if this is critically?
I prefere to do things by my own - because I don`t trust tools that crash that often *gg*
GreeT`s
I've never succeded in using PKGToolsBuildOS to change rom language. I do it manually.
It seems that you're counting also subdirectories in your 040x folder count (ie, there's a Base_Lang_0409 folder and inside lies a commctrl.dll.0409.mui. Of course, you don't need to count it as changing Base_Lang_0409 folder will also replace its subdirectories.). Sys folder should contain approximately 30 040x first level folders. Between roms, it there may be 1 or 2 folders less or more (depending on the availability of windows_live and things like that.)
The only thing important is that in the end, every folder that was 0409 is now replaced by 0407 folder.
I did it
Jea - today I did it
I flashed HongKong 10a ROM with German language to my KS20.
I have now
ROM: v10a
Bootloader: v10a
Modem Firmware: V10e
ROM date: 2008-04-29
I don`t understand why the Modem Version is still the "old" one
How can I get the newest modem Firmware from the HongKong ROM?
ROM-Date seems also the "German 10e" date.
Who can bring light inside :I)
Greet`s erich
Informations about version are stored in registry (in HKEY_LOCAL_MACHINE\Software\LGE\VersionInfo).
As for modem version, it's in mbn files and not in flash.bin.
So does it mean I have the "modem Version" from the HongKong ROM but only it shows the "old" one
Or do I have to change a .mbn file to change Modem Version?
Whitch .mbn file is the one holding the Modem crap?
I know from my friend who owns a HTC Diamond that a new modem version can save battery and bring faster or more stable access,...
Greet`s erich

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

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

Toshiba G810 Simplified Kitchen

this is the simplified Kitchen for Toshiba G810. This will only edit the IMGFS section of the ROM. The ROM file is FLASH.bin
To dump:
1. Place ROM file FLASH.bin inside \ROM folder
2. Execute Dump.cmd
3. \OEM & \SYS folders will be generated
I have inserted the XIP contents for you, so you don't have to worry with XIP. It's from the latest official update of G810
To build:
1. Execute Build.cmd (requires .NET2.0 to work)
2. After the entire process, your new ROM will be found in \output folder
Excellent! Thanks ferryboat! This'll be great to fiddle with!
Thanks ferryboat
ferryboat said:
this is the simplified Kitchen for Toshiba G810. This will only edit the IMGFS section of the ROM. The ROM file is FLASH.bin
To dump:
1. Place ROM file FLASH.bin inside \ROM folder
2. Execute Dump.cmd
3. \OEM & \SYS folders will be generated
I have inserted the XIP contents for you, so you don't have to worry with XIP. It's from the latest official update of G810
To build:
1. Execute Build.cmd (requires .NET2.0 to work)
2. After the entire process, your new ROM will be found in \output folder
Click to expand...
Click to collapse
Toshiba forum
@ ferryboat
Why you do not join also to www.portegeclub.com?
EDIT:
HERE there are some ROMs
Hi,
I have a Toshiba G810. And i am new on windows mobile with a very little knowledge. What is the difference between original Windows Mobile 6.1 rom and Simplified Kitchen version?
Thanks.

Porting new XIP for Trinity

Does someone explain me how to make the porting of XIP of a new build for the trinity?
excuse me for my English
matlegro said:
Does someone explain me how to make the porting of XIP of a new build for the trinity?
excuse me for my English
Click to expand...
Click to collapse
It's extraordinary simple.
XIP is half OEMXIP and MSXIP. You always keep OEMXIP from your device.
OEMXIP is in ROM/TRINITY. Just copy the existing and rename copy with new build number. you have then for ex : 23017 (existing) and 23088 (new) but contents are identical
You only port MSXIP. For this, get the xip.bin. Then get Xipport, and extract all from xip.bin. then have a look in your existing XIP in kitchen in ROM\SHARED\21864\MSXIPKernel to keep only the files as shown in model. Then, you can add the new XIP, by adding a folder with n° of XIP (ex 23088) in ROM/SHARED and copying the extracted from xip.bin
So, it's just extract and copy files bascially.
brds,
nAr
Or even easier if you use ervius visual bepe kitchen: Copy the new xip to tools\xip.bin_new. Then start visualkitchen, open xipporterex and press "extract form payload" and "port it". If you are lucky, have a proper old payload and a proper new xip, this will import the new xip and build all folders for you.
ickebins said:
Or even easier if you use ervius visual bepe kitchen: Copy the new xip to tools\xip.bin_new. Then start visualkitchen, open xipporterex and press "extract form payload" and "port it". If you are lucky, have a proper old payload and a proper new xip, this will import the new xip and build all folders for you.
Click to expand...
Click to collapse
Very nice move, you smart, , lol, I use the kitchen only to dump roms and click da "Create rom" button ...
offtopic-BTW you tested my new 0407 release ? in da right thread -offtopic
brds,
nAr

Categories

Resources