Please help HOW TO COOK MY OWN WM6.5 ROM - S740, S743 ROM Development

Hello ewerybody,
I need help. Can you tell me what all is needed
to make wm6.5 ROM?
I have WM 6.5 standard SDK, bud no lasdscape mode is supported

you will need a to port a wm 6.5 ROM from the S730 i don`t realy know it haves one but you will need a kitchen from there if it is and modify to adjust to the S740 for more information about how to do this please say it and i will give you all the informations i have

...i cannot found Wings ROM Kitchen, but i found kitchen for VOX. Is possible modifi this vox kitchen to use for Rose ?
Frauhottelmann Vox Kitchen 1.2:
http://forum.xda-developers.com/showthread.php?t=551366

Sorry for the late here you have the links to some tutorials hope that helps i wanted to cook a rom to but ain`t got time right now..good luck and keep us with the news how does the job goes
http://forum.xda-developers.com/showthread.php?t=406721#4
PS:this is for the elf but the basic things are the same

Okay, i found wings kitchen.
I edit it, flash to my Rose cooked 6.5 ROM with no problems, BUT :
RUU.nbh has only 67MB
Phone starting and make restart and restart and restart
here is my log:
======================================================
= S740 Rose kitchen v1.0test =
======================================================
Creating 'dump' folder...
Folder created...
Launching BuildOS:
Select packages and run...
when done Exit BuildOS
!!!DO NOT CLOSE THIS WINDOW!!!
BuildOS has finished
Continuing...
Processing data, please wait...
Processing...
Dump completed successfully - ready to compile image
Launching CreateROM.bat
File not found - temp\dump\*.brn.
File not found - temp\dump\*.kbd.
*********************************************************
* CreateROM.bat *
* Compiled from Bepe's Heremes 6.1 Kitchen CreateROM.bat*
* and Aichillus' Core Kitchen Build_ROM.bat *
* by Cornholio GSM *
* 12.4.2010 *
*********************************************************
Copying OS.nb.payload...
System cannot found this file.
Completed copying - continuing
Initial processing...
Processing complete - continuing
Creating image, please wait...
ImgfsFromNb 2.1rc2
Could not open input file 'OS.nb.payload'. Aborting.
ImgfsFromDump 2.1rc2
Input file imgfs.bin cannot be opened. Exiting.
ImgfsToNb 2.1rc2
Using bigstorage mode
Input file imgfs-new.bin cannot be opened. Exiting.
NBMerge 2.1rc2
Could not open input file 00_OS-new.nb.payload
Cannot found C:\Kitchen_WINGS_21234-21234-131dpi\Kitchen_WINGS_21234-21234-131dpi
\temp\imgfs-new.bin.
Cannot found C:\Kitchen_WINGS_21234-21234-131dpi\Kitchen_WINGS_21234-21234-131dpi
\temp\imgfs.bin.
Cannot found C:\Kitchen_WINGS_21234-21234-131dpi\Kitchen_WINGS_21234-21234-131dpi
\temp\OS.nb.payload.
Cannot found C:\Kitchen_WINGS_21234-21234-131dpi\Kitchen_WINGS_21234-21234-131dpi
\temp\OS-new.nb.payload.
Processing complete.
Moving os-new.nb to \tools\htools directory
System cannot found this file.
The file "os-new.nb" has been created and is in the dump folder
Now we need to generate the file that is written to your phone
Follow these directions when the NBH Tool opens:
* Select "NB to NBH"
* Click the browse button for OS
* Select the "os-new.nb" (Tools\HTools)
* Save it on your Desktop
* After adding extra (if any) components, click "Generate NBH File"
* Close NBHTool once complete
NBH Generator ver0.1 by bot
OS-New.nb
Completed.
The rom is in \RUU folder
Press any key to continue...
And here is my CreateROM.bat
echo.*********************************************************
echo.* CreateROM.bat *
echo.* Compiled from Bepe's Heremes 6.1 Kitchen CreateROM.bat*
echo.* and Aichillus' Core Kitchen Build_ROM.bat *
echo.* by Cornholio GSM *
echo.* 12.4.2010 *
echo.*********************************************************
echo.
echo.
echo Copying OS.nb.payload...
echo.
echo.
copy ROM\OS.nb.payload temp\OS.nb.payload
echo.
echo.
echo.Completed copying - continuing
echo.
cd temp
echo.
echo.
echo.
echo.Initial processing...
echo.
echo.
echo.Processing complete - continuing
echo.
echo.
echo.Creating image, please wait...
echo.
echo.
echo.
..\TOOLS\ImgfsFromNb OS.nb.payload imgfs.bin
..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb.payload -bigstoragemove
..\TOOLS\NBMerge -data 2048 -extra 8 00_OS-new.nb
attrib boot.rgu -r -s -h -a
del boot.hv
del boot.rgu
del imgfs-new.bin
del imgfs.bin
del OS.nb.payload
del OS-new.nb.payload
echo.
echo.
echo.
echo.Processing complete.
echo.
echo. Moving os-new.nb to \tools\htools directory
echo.
move ..\temp\os-new.nb ..\Tools\HTools
echo. The file "os-new.nb" has been created and is in the dump folder
echo. Now we need to generate the file that is written to your phone
echo.
echo. Follow these directions when the NBH Tool opens:
echo.
echo. * Select "NB to NBH"
echo. * Click the browse button for OS
echo. * Select the "os-new.nb" (Tools\HTools)
echo. * Save it on your Desktop
echo. * After adding extra (if any) components, click "Generate NBH File"
echo. * Close NBHTool once complete
echo.
cd ..\tools\htools\
nbhgen.exe nbhgen.txt
move RUU_signed.nbh "..\..\RUU"
SET status2=* The RUU_signed.nbh has been moved to RUU ) ELSE (
SET status2=* The RUU_signed.nbh is missing from Desktop
GOTO NO )
echo.
echo. Do you want to run RUU Flash utility now ? (Make sure the device is USB connected)
echo.
:Choice
echo.
Set /P Choice=Type Y (Yes) or N (No) and press [Enter]:
IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%
IF /I '%Choice%'=='y' GOTO YES
IF /I '%Choice%'=='n' GOTO NO
IF /I '%Choice%'=='' GOTO Quit
GOTO Choice
:Quit
echo.
echo.Flash aborted - compiled image is in the /tools/RUU folder
echo.
pause
GOTO :EOF
:YES
echo.
cd ..\Tools\RUU
RUUWrapper.exe
echo.
echo.
echperation complete
echo.
pause
:NO
echo.
if NOT "%ALL%"=="1" pause
goto :EOF
:error
echo.
echo ERROR! (errorlevel: %errorlevel%)
pause

You have to use G'Reloc and change the values to the original Rose values, since my kitchen uses the Vox' values, where the ROM is only so small...

okay, i test this :
I extract with dutty's NBH Tool original Orange_UK_1.17.61.2 ROM to .nb files.
Then i compile back .nb file to .nbh. I select only OS (windows.nb) and set:
Device:ROSE100
CID Type: SuperCID
Version : 2.00.0
Language: WWE
Signature Size 128
Generated .nbh file has approx 102MB.
I make upgrade to my rose. Upgrading was with no problems.
Bud when rose boots show only Orange splash screen, then version and then restart and restart and restart !!!
I'm really unhappy

i think you should another kitchen like HTC Snap that got a 256 mb ROM and modify it so it should adjust to the rose i don`t know how to do those things but you should realy modify the screen to be portrait and landscape
PS:with the rom from wings i think it will never work so try modify a snap rom

how do we obtain the values to use on g.reloc?

okay, restart problem is fixed...
I use another tool to compile nbh and set the values to
ModelId=ROSE10000
Signature Size=64
Version : 2.00.0
Language: 0409
...and it works
...i continue with cooking rom

CornholioGSM said:
okay, restart problem is fixed...
I use another tool to compile nbh and set the values to
ModelId=ROSE10000
Signature Size=64
Device:ROSE100
Version : 2.00.0
Language: 0409
...and it works
Click to expand...
Click to collapse
so now you have a working wm6.5 rom?

no, no...i test this on original shipped rom.

You get the G'Reloc values by unpacking a original ROM and putting the SYS and OEM files in the respective folder and open G'Reloc. I can do that for you.
Here are the values:
Slot 0: 01FA0000
Slot 1: 03E40000
Size of ROM: 83400000
Unknown: 00000000

Hi CornholioGSM,
Don't give up! We all are waiting for the first 6.5 ROM...
What kitchen do you use? And why from Wing? Is a tutorial available? Could you please tell us more details? Maybe we can help you cooking a ROM.
Sorry fo lots of questions I'm a newbie.
CU
Semmelknoedel
P.S. How can I backup my existing ROM? It is a original Swisscom ROM without any restrictions. I want upload it in S740 ROM-Thread.

You get the G'Reloc values by unpacking a original ROM and putting the SYS and OEM files in the respective folder and open G'Reloc. I can do that for you.
Here are the values:
Slot 0: 01FA0000
Slot 1: 03E40000
Size of ROM: 83400000
Unknown: 00000000
thanks frauhottelmann

When I am back home, I can make a WM 6.5 test ROM for you guys and upload it for you to try. Sometime next week. I can't promise anything though without an actual device.
BTW: You also have to port the XIP to get 6.5 working.

I flash my S740 device with RUU_Rose_HTC_WWE-Brightpoint_1.64.422.1_Radio_sign_12.29a.30.12_0.29.30.33_Ship and try to cook here is the pics what is extracted hrom rom how can now put new 6.5 insted 03_OS_0x400.nb

You have to extract the 03_OS.nb and replace it's SYS folder with a WM 6.5 SYS folder. And then recook everything together

komunistvb said:
I flash my S740 device with RUU_Rose_HTC_WWE-Brightpoint_1.64.422.1_Radio_sign_12.29a.30.12_0.29.30.33_Ship and try to cook here is the pics what is extracted hrom rom how can now put new 6.5 insted 03_OS_0x400.nb
Click to expand...
Click to collapse
keep in mind that this is for s743...

I am cooking right now (without a device), but I can't promise anything and I can't upload until tomorrow evening (European time).

Related

Romkitchen on Windows

I got Romkitchen running on W2K/IIS
i did the following:
* Install Cygwin with Base-Tools and Perl
* Install php-4.3.2-Win32
* create virtual directory pointing to Romkitchen files
* make sure, that bin-directories of cygwin and php are in your system path
changes in Romkitchen:
Windows does not support the concept of symbolic links so change it to just copy the files
* processor.php line 480:
@symlink(...);
chage to:
@copy(...);
* Directory "80_How would you like..." must not end with a "?"
* because i have no command line "zip" installed i changed the content
of "outfile" to names without ".zip" at the end
(in RomKitchen\data\80_How would you like your ROM_\20_zipped NK.nb1 (SD-card flashing)\_\cfg)
That's it! (and it works! )
Fidl
Nice. I might try it. Last time i tried to install cygwin, i couldn't get it to work. can u give me little more details on how u isntalled it?
thanks
alex
I did nothing special to install cygwin.
I installed via ftp, selected all of the base installation and made sure that perl (5.8..) is marked for installation.
the only thing i did is that i added c:\cygwin\bin to my system path variable.
when runnin mkrom i didn't do that from cmd.exe but lauched "bash" before that.
try to start ./mkrom.sh from a bash-shell.
sorry, i don't remember if i did anything else important, but if you encounter some problems, let me know.
Fidl

Hi from Romania !

After one week with a T-Mobile US version (32Mb) i want to thank you all for your job.
I mean that first thing when I got it I've installed SE 1.2 and unlocked it. Afterwards I was toying with TMO 4.00.16 ENG and also upgraded radio to 6.24.
Everythnig is smooth but ... I want to build my own ROM. I've set up the makerom on a linux box and i think i will follow this steps:
1. perl setup.sh nk.nbf (this one taken from the origina TMO distribution in the RUU directory) - on the linux box
2. dumprom -4 -d files -q nk.nbf - on the linux machine to get all files
3. perl fdf2reg.pl files/default.fdf cfg/default.reg - linux
4. tr -d "\0" <files/initobj.dat >cfg/initobj.txt - linux box
5. cp files/initdb.ini cfg/initdb.ini - linux box
6. delete all files & add all the files I want to add (all kind of software)
7. bash mkrom.sh out/out.nbf - to generate the file for the SD
Questions:
a) is it possible to remove some files from the original ROM and how (any additional steps required)
b) using ssnap for the addtitional software installed ... where shall i make the additions (in files and for registry) ?
Thanks for all your support.
Decebal
PS. Any XDA owner from Romania ?

Bepe BuildOS Problem (vs PPCKitchen BuildOS)

I am having a hell of a time trying to build a Titan 21042 kitchen! If anyone has any input on this, it would be greatly appreciated!
I can build a good 21042 ROM using PPCKitchen.org BuildOS (I will refer to this as ppck_Titan_21042), but when using the same files, Bepe's BuildOS results in a ROM that works (I will refer to this as dj13241_Titan_21042), but has one major issue ... I can not view any messages (or write a new one)!!!
When using dj13241_Titan_21042, if I click on a text message, the title bar flashes to "Messages", but then goes right back to the message list. I don't understand!
Below are links to three files; ppck_Titan_21042.zip (ROM), dj13241_Titan_21042.zip (ROM) and dj13241_Titan_21042_Kitchen.zip (My Kitchen Attempt).
What am I missing?
Code:
[URL="http://rapidshare.com/files/248601008/ppck_Titan_21042.zip"]ppck_Titan_21042.zip[/URL]
[URL="http://rapidshare.com/files/248595477/dj13241_Titan_21042.zip"]dj13241_Titan_21042.zip[/URL]
[URL="http://rapidshare.com/files/248598116/dj13241_Titan_21042_Kitchen.zip"]dj13241_Titan_21042_Kitchen.zip[/URL]
Update: I thought I was on to something here ... I realized that the ppck ROM has NetCF 2.0, and mine has NetCF 3.5 ... I tried changing mine to NetCF 2.0 and still experience the same problem.
Again, I thought I was on to something. I added the XIP dump DSMs and RGUs to the ROM\XIP folder. I checked the log ... they were added to the registry. Still no luck viewing my text messages. I am going to try using the 21051 SYS packages and see if that gets me anywhere.
SYS vs OEM
Does it matter if I have a SYS package in the OEM folder or vice versa?
Looks like IMFGS<->DUMP Problem
Updates ... If I start with ppck_Titan_21042.nbh (in the zip) ...
NBHExtract ppck_Titan_21042.nbh
NBSplit -titan 02_OS.nb
IMGFSfromNB 02_OS.nb.payload 02_OS_imgfs.bin
IMGFStoDUMP 02_OS_imgfs.bin
IMGFSfromDUMP 02_OS_imgfs.bin new_imgfs.bin
... The two IMGFS files are different sizes!
02_OS_imgfs.bin - 46,137,344
new_imgfs.bin - 45,834,240
Still don't know where that leaves me.
Update (6/29/09) - Although the two files are different sizes, they both work fine. Looks like it may be a BuildOS related issue.
Solved!!!
It is a file attribute issue. All I needed was ...
Code:
attrib /s +A +S +R dump\*
attrib /s -S -R dump\imageinfo.txt
attrib /s -S -R dump\S???
... right before the IMGFSfromDUMP call.

LGPL kitchen - with full source

since I have no chance to get sources for all kitchen tools, so i'v decided to write new svn repository with all tools
command:
svn co http://lrk-python.googlecode.com/svn htc-python
todo:
fdi - decompession of cabbed files - with help of cabsdk.exe ported to linux
xip - full port
tools witch are found working:
nbh2dbh
dbh2nb
osextract - on windows 32
part-os
target: linux-x64
usage - and what be discovered
steps:
ln -s uour file.nbh rom.nbh
xe1-nbh2dbh.py - converts rom.nbh to tempfile.dbh
xe2-bdh2nb.py - converts tempfile.dbh (from previus step) to : ) other formats, where one of them is *OS*
softlink this file to windows.nb
xe3-osextract -will decmpose windows.nb to partitions
- and here im flying
25 - sys partition
others - are xips - in simple case
am - seeking for volunters to do the other steps to fully decompile/recompile xip and friends

[Q] How to use osnbtool

Hi all, I have problems using osnbtool: when I open it it closes immediatly...
Can somebody tell me how to use it? I'm using Windows 7
Never used it but try right click and run as administrator.
It is a console tool. You need to run it from the Command Prompt in admin priviledge.
Ok I managed to run It, the problem now is that the program crashes after some time... what should I do now?
Please somebody answer
Didn't you get this if you just type "osnbtool" on the command prompt? The built-in help is good enough. What exactly do you want to use it for?
$ ./tools/osnbtool.exe
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
A powerful tool for de-pack partitions from OS.NB!(RAW-OS-IMAGE)
*** Decompress & compress SRPX partitions,unpack & pack partitions.
*** Support to re-structure OS.NB when insert a resized partition.
====Command for decompress,compress,unpack & pack partitions:
-d <OS.NB> <Num> <OUT.BIN> Decompress Num of part from OS image to OUT.BIN
-c <OS.NB> <Num> <IN .BIN> Compress or insert IN.BIN to OS image
====Command for split to a RAW-OS-IMAGE form srcFile & repack:
-sp <fName.ext> Split source file to fName.ext.PRE & fName.ext.OS.NB
----'fName.ext.OS.NB' means that RAW-OS-IMAGE.
----it can remove extra-data(SECTOR_ENTRYs) or B000FF struc.
-extra <fName.ext> [0x"intBlocksToFill" | 0x"dwBlockSize"] Insert extra fields (SECTOR_ENTRYs) & get fName.ext.EXA
-2bin <fName.ext> [0x"StartADDR"|-CutHeader] Pack fName.ext to BIN(B000FF)
-FixBinHeader <fName.ext> [0x'intRecordsToAdd'] Fix 'B000FF' header-entry.
====Command for unmask src file :
-x <fName.ext> <0x"dwKeyWord"> [outFile] Unmask source file to outFile
====Command for PagePool value changing in XIP.BIN:
-pp <XIP.BIN> <0x"dwOFFSET"> <decVal"MB"> [-y] Change PagePool Value at OFFSET in source XIP file
-ap <XIP.BIN> <decVal"MB"> [-y] Auto search & change PagePool Value in source XIP file.

Categories

Resources