Cooking Help - HD2 Windows Phone 7 Development

I was thinking of teaching myself how to cook WP7 for Leo. Ive looked through the HD2 section and the WP7 section. I got myself the kitchen and some basic instuructions, but i have a few questions.
1) where are the langugage files and how can i add/delete language abilities?
2) I can make the default.hvm file and user.hvm file, but how do i open them to edit things?
3) If i screw up cooking my ROM and test it on my HD2, will it brick the phone?
I really dont want to release something, that doesnt work, so if anyone could help me, that would be great!

nips_uk said:
I was thinking of teaching myself how to cook WP7 for Leo. Ive looked through the HD2 section and the WP7 section. I got myself the kitchen and some basic instuructions, but i have a few questions.
1) where are the langugage files and how can i add/delete language abilities?
2) I can make the default.hvm file and user.hvm file, but how do i open them to edit things?
3) If i screw up cooking my ROM and test it on my HD2, will it brick the phone?
I really dont want to release something, that doesnt work, so if anyone could help me, that would be great!
Click to expand...
Click to collapse
Just for starters, have a look at Yuki's Great tut on cooking WP7, which i believe you already have.
now the questions,
1) i dont know much about this, but usually on x86 platform microsoft has ttf fonts for languages which are linked to system language preference using registry database.
2) they are registry hives, use any registry hive editor from google (works for me)
3) Nope, HSPL protects user from bad flashes in bootloader, MAGLDR protects HSPL by doing flash work in userspace. so if you flash a bad image, power goes off during flash using MAGLDR and DWI, only the data on NAND will be corrupt, you can still boot into HSPL bootloader and MAGLDR and next time you flash a good image, that will boot as well. (you will have to format/clean the partitions ofc if using Android)

Although this is a dev section its not for asking questions, do that in the Q&A forum.
The only posts here should be dev releases/projects/reference etc.
What do you think this section would look like if everybody was allowed to just post questions?? Thats the whole reason the Q&A forums were created in first place.

sorry TheATHEiST, my bad. ill remember that from now on.
@Rick_1995. Thanks for that! should get me started!

nips_uk said:
sorry TheATHEiST, my bad. ill remember that from now on.
@Rick_1995. Thanks for that! should get me started!
Click to expand...
Click to collapse
The .hvm files are actually editable in any text editor, as I found out. Just don't forget to convert them back to .hv files like I did.

Related

Athena Project Kitchen

Help me get an Athena: Donate to the Athena Projecthttps://www.paypal.com/cgi-bin/webs...ode=USD&lc=US&bn=PP-DonationsBF&charset=UTF-8https://www.paypal.com/cgi-bin/webs...ode=USD&lc=US&bn=PP-DonationsBF&charset=UTF-8
Warning: This ROM Kitchen is for Personal use only, ROM's Created with this Kitchen should not be released on the forum. This is to stop the situation we have on other forums (everyone + his dog releasing roms that change little) happening here.​
Firstly, Thanks to:
-Darkforce for the wonderful build
-Olipro
-Bepe
-cmonex
-Pawel062
-ltxda
-mackaby007
-mwang
-mamaich
-Lt.Cmdr.Ivan
-Anyone else ive forgotten (sorry )
Now onto the good stuff:
CE Ver: 5.2.1933
Build: 18533
AKU: 0.7
Pagepool: 16Mb
Download Link:
Here
How-To build an OEM Package:
An OEM Package is just a simple folder containing files and registry settings for the ROM
First of all you'll need a GUID number for your Package.
Go to http://www.famkruithof.net/uuid/uuidgen to get one.
In my case:
283b9db7-cb03-4c1b-820e-ca49b2c3b5db
Necessary steps:
Create a new folder:
OEM/[Your package name]/
Create a empty text file:
OEM/[Your package name]/283b9db7-cb03-4c1b-820e-ca49b2c3b5db.dsm
(The Kitchen will finish this file for you)
If needed:
Create an UNICODE text file:
OEM/[Your package name]/283b9db7-cb03-4c1b-820e-ca49b2c3b5db.rgu
This file could be used to add registry entries to the ROM
First line is:
REGEDIT4
...
and there MUST be a empty line at the end!!
Create an UNICODE text file:
OEM/[Your package name]/initflashfiles.txt
This file could be used to create folders or copy files on the ROM.
Example: Open OEM/OEM_Lang_0409/initflashfiles.dat using a text editor
*Do Not Edit This*
Copy all files you need to OEM/[Your package name]/
If you want an OEM package made and cant do it yourself then donate to the Athena Project and PM me the cab
Help me get an Athena: Donate to the Athena Projecthttps://www.paypal.com/cgi-bin/webs...ode=USD&lc=US&bn=PP-DonationsBF&charset=UTF-8https://www.paypal.com/cgi-bin/webs...ode=USD&lc=US&bn=PP-DonationsBF&charset=UTF-8​
Bugs:
Included wrong BuildOS, wont work unless you have Visual Studio 2005 Installed, re-uploading
great work mate will try it
Here it is....download from here!!!
http://www.htc-devs.com/uploads/Athena/Roms/Midget_1990/AP_Kitchen.exe
Enjoy!
just peachy. cheers fellas.
glad i'm not he only one who noticed the rom frenzy on the other forums.
athena = quality not quantity
Thanks bigtime for the Kitchen.. I'm sure ya'll worked your ass off..
Just one update to your 1st post. the GUID Page has moved. This is the new direct link..
Thank you very to all for the kitchen
nice job with the kitchen midget. glad we all agree about the roms.
Midget_1990 said:
Bugs:
Included wrong BuildOS, wont work unless you have Visual Studio 2005 Installed, re-uploading
Click to expand...
Click to collapse
Yes Build 18508 !!
But i've got VS2005 !! (without platform builder Windows, CE 5 embedded and all !!! Snifffffff!!!)
Thanks for your job
no, you mis-understand me i mean 'BuildOS.exe' not the build
Running my "own" cooked ROM, works great! Thank you Midget!!
Midget_1990 said:
no, you mis-understand me i mean 'BuildOS.exe' not the build
Click to expand...
Click to collapse
Yes, i'm sorry
Thanks
I agree that some of the other forums have been overrun with people making their own ROMs and posting them, but it might be a nice idea for there to be one thread where people can share their work with others if they have cooked their own ROM. When I had my Hermes, I liked looking at what other people had done and it gave people a bit more choice. I'm not saying that PK3.0 isn't incredible (it truly is!) but there might be people who would like to try something else and maybe don't trust themselves with the ROM kitchen.
Hats off to midget for this fine kitchen!
Hi Midget,
Congratulations with the kitchen
I don't own a Athena (Omni is my priority), but I sertainly have a look at this kitchen and see what I can use for the UNI.
Thanks,
Leo
Just sond my hermes, getting an athena soon, and i think its great that here in the athena forum, you have a rula stopping every man and his dog like you said, posting roms. In hermes, everyday, theres some new cook, who just strips down schaps roms, or adds some random program to a rom. There are very few true cooks, and i think you have the right idea here, not letting everyone add their own very indifferent roms to clutter the forum. Maybe it would be an idea to make a thread to either post oem packages, (ive never had much luck making them) or their roms. But i guess then people would discuss each and evey rom in the same thread, and it would be impossible to get the information you need.
Anyways, looking forward to donating to the athena project, and getting ym athena. Is the athena project still going?
x
rorydaredkign said:
Just sond my hermes, getting an athena soon, and i think its great that here in the athena forum, you have a rula stopping every man and his dog like you said, posting roms. In hermes, everyday, theres some new cook, who just strips down schaps roms, or adds some random program to a rom. There are very few true cooks, and i think you have the right idea here, not letting everyone add their own very indifferent roms to clutter the forum. Maybe it would be an idea to make a thread to either post oem packages, (ive never had much luck making them) or their roms. But i guess then people would discuss each and evey rom in the same thread, and it would be impossible to get the information you need.
Anyways, looking forward to donating to the athena project, and getting ym athena. Is the athena project still going?
x
Click to expand...
Click to collapse
still going yes, however donations stopped cold after pk's last rom and this kitchen so i ahevnt got a device back yet
no money right now, well none if i want my athena, but after my christmas money comes (im 17 like you midget) ill donate. How much do you need for the new device?
x
rorydaredkign said:
no money right now, well none if i want my athena, but after my christmas money comes (im 17 like you midget) ill donate. How much do you need for the new device?
x
Click to expand...
Click to collapse
i dont know ltxda handles teh donations
Midget_1990 said:
i dont know ltxda handles teh donations
Click to expand...
Click to collapse
my guess is around 600 usd but i believe thats with shipping.
Hi,Midget.
I'm learnning cook rom. AP_kitchen give me help very well. Many thanks for your work. I have Donated to the Athena Project.
Can you tell me how to translate the AP_kitchen to non-english? I have tried for a long time. but my U1000 always stoped at second flash.

Raphael ROM Kitchen... Or lack there of?

Hi I'm not that new to cooking ROMS, but I'm by no means an expert when it comes to making one myself.
I have been reading and reading and searching but I can't find a nice clean easy to use kitchen for the GSM Touch Pro anywhere.
My Touch Pro(actually, it's an AT&T Fuze) will be arriving this Thursday(Jan 15th) and I would really love to be able to build my own custom ROM and possibly release it to the community but the community seems to be somewhat lacking in the "Kitchen Department".
I took a good look at NotATreoFan's kitchen. Every OEM is lacking an option.xml file and there are no tools included to actually build the ROM.
I looked at jcespi2005 and JugglerLKR's kitchen and that kitchen seems very non-user friendly.
Coming back to GSM from a CDMA Community, may I ask why there are no complete, user-friendly kitchens here in the GSM world? CDMA has the PPCKitchen, they have tobeychris&Ghettofreeryder's Diamond Kitchen, and they have electronicrice's kitchen for the Touch Pro(CDMA).
I just don't understand why no kitchen like that exists for the GSM Touch Pro. I think it's a really good idea to have a user-friendly kitchen because then anyone can make their own custom ROMs and then you have more variety because everyone has their own style.
Just my 2 cents...
Dan.
i prefer using jcespi's kitchen it is very userfriendly.
On xda you can find the simple steps.
Or do you want a kitchen that does everything on command at it own
just kidding here's a link http://rapidshare.com/files/151114881/Raphael_ROM_Kitchen_v0.62.rar
hmm, the raph kitchens buildos looks almost exactly like ppckitchens buildos, but instead of holding your hand it gives you freedom..
if you prefer the easy to use gui with pre assembled packages, why not use ppckitchen?
Da_G said:
hmm, the raph kitchens buildos looks almost exactly like ppckitchens buildos, but instead of holding your hand it gives you freedom..
if you prefer the easy to use gui with pre assembled packages, why not use ppckitchen?
Click to expand...
Click to collapse
I agree, it's too automatic-- no offense, but I want the chef shaping the ROM and not the kitchen Always nice to have personal touch
pfcsabre said:
I agree, it's too automatic-- no offense, but I want the chef shaping the ROM and not the kitchen Always nice to have personal touch
Click to expand...
Click to collapse
Yeah I gotta agree with that. Ive tried ppckitchen and i couldnt handle the lack of control over my files.
If you comfortable with splitting out the payload give Da_Gs kitchen a look. It is fast and has the newest build OS which i think is more efficient. Its posted in the raphael kitchen thread on one of the last pages.
If it helps ive got a small tool which will make the option.xml files in batch form?
Simple process:
get your packages into a common folder
make sure they all have a dsm inside with a valid guid
drag the common folder onto the program
type in the group name you want
the tool creates the option.xml for each package with its name being the folder name and the group being that which you entered at the start.
it defaults the checked values to "true" aswell.
Am at work at the mo so cant post it but will do when i get home if thats any help to anyone?
mrvanx said:
If it helps ive got a small tool which will make the option.xml files in batch form?
Simple process:
get your packages into a common folder
make sure they all have a dsm inside with a valid guid
drag the common folder onto the program
type in the group name you want
the tool creates the option.xml for each package with its name being the folder name and the group being that which you entered at the start.
it defaults the checked values to "true" aswell.
Am at work at the mo so cant post it but will do when i get home if thats any help to anyone?
Click to expand...
Click to collapse
Hey I like tools I would love to have a look at it.
mrvanx said:
If it helps ive got a small tool which will make the option.xml files in batch form?
Simple process:
get your packages into a common folder
make sure they all have a dsm inside with a valid guid
drag the common folder onto the program
type in the group name you want
the tool creates the option.xml for each package with its name being the folder name and the group being that which you entered at the start.
it defaults the checked values to "true" aswell.
Am at work at the mo so cant post it but will do when i get home if thats any help to anyone?
Click to expand...
Click to collapse
That would be awesome!
Sign me up as interested in your tool, mrvanx
Guys
I'm all about getting into this stuff forehead deep so I grabbed jcespi's kitchen tossed my nbh from the stock cingular rom for the fuze just to get started to see if I could figure this out. Am reading through his docu's but I'm a conceptual techie I can talk it but in the onset rely on advice and coaching that being said none of you are baby sitter. Where would you suggest someone in dilemma start; I'd like to contribute more can pick up stuff pretty quickly just need a good starting place to get the hang of this so I too can where maybe a chef's bandana lol. Any advice is as always much appreciated!
While I'm primarily a conceptual techie; I do get my hands dirty once they are dirty enough I won't ask the redundant and sometimes dumbe questions... I promise ... going to download that other kitchen referenced above as I am more of a visual learner and don't mind microwaving some ROMs before I actually pan fry or bake anything.
Thanks again!
-GG
gravesy56 said:
Guys
I'm all about getting into this stuff forehead deep so I grabbed jcespi's kitchen tossed my nbh from the stock cingular rom for the fuze just to get started to see if I could figure this out. Am reading through his docu's but I'm a conceptual techie I can talk it but in the onset rely on advice and coaching that being said none of you are baby sitter. Where would you suggest someone in dilemma start; I'd like to contribute more can pick up stuff pretty quickly just need a good starting place to get the hang of this so I too can where maybe a chef's bandana lol. Any advice is as always much appreciated!
While I'm primarily a conceptual techie; I do get my hands dirty once they are dirty enough I won't ask the redundant and sometimes dumbe questions... I promise ... going to download that other kitchen referenced above as I am more of a visual learner and don't mind microwaving some ROMs before I actually pan fry or bake anything.
Thanks again!
-GG
Click to expand...
Click to collapse
Ditto. I would love to start contributing back and would appreciate any sources of where to start.
DrzNight said:
Ditto. I would love to start contributing back and would appreciate any sources of where to start.
Click to expand...
Click to collapse
This is exactly why I posted this. I'm not looking for a GUI kitchen or anything like that but I am looking for a base kitchen that doesn't involve extensive modification before it can be used.
I will have my Touch Pro by tomorrow afternoon and I want to be able to contribute to the GSM community just like I did for the CDMA community.
i read this thread so here you go:
http://forum.xda-developers.com/showthread.php?p=3171470#post3171470
have fun
(oem rom sys in my thread will work with this, ill make an easier to use one later)
Obviously you didn't read my idiots guide for rom ccoking & use the easybake kitchen, which makes roms with five easy steps involving only deleting or adding packages & 4 mouse clicks.
GSLEON3 said:
Obviously you didn't read my idiots guide for rom ccoking & use the easybake kitchen, which makes roms with five easy steps involving only deleting or adding packages & 4 mouse clicks.
Click to expand...
Click to collapse
Never seen it is it a sticky somewhere? I'll search for easybake kitchen and take it from but a link would awesome!
GSLEON3 said:
Obviously you didn't read my idiots guide for rom ccoking & use the easybake kitchen, which makes roms with five easy steps involving only deleting or adding packages & 4 mouse clicks.
Click to expand...
Click to collapse
Actually I did read that and I'm not a fan of that method. I prefer a clean base and not a decompiled carrier ROM. Decomped carrier ROMS can become very messy very fast...

how to make my rom dump?

hello ive got th iolite
but i dont know if i can use the tools that i also use for my blackstone to make the romdump?
and can i use the same kitchen as for the blackstone??
hi,
see here
This is by the Jade forum. but I think it should work also for you.
thank you going to give it a try
miniterror said:
thank you going to give it a try
Click to expand...
Click to collapse
Did you have success?
just saw that my comment was ereased
i didnt have succes because i didnt tryed it
i wanted to make a dump of the dutch rom but is already on the site
so i thiought a dump wassnt nesecary any more
Hi, i got a dutch Iolite and right now i am trying to find out how to swap to an english ROM. But somehow it is quite difficult to find kind of a step-by-step explanation in this board.
I guess before trying any kind of flashing action i should first dump the ROM I have installed, to go back in any case.
So i downloaded those ITSutils but procread just crashes with a 'RAPI.dll was not found" error. Well, i will check for that later in the board, but in general... What should i do to dump the ROM?
I am supposed to plug it to a pc via usb? If so, using which drivers? Do i need to open that windows mobile cd i got with the phone?
Because if i would not need it, i would keep it closed until I decided wether to keep the phone (in english) or to sell it again when it has to stay in dutch.
Thanks for any help, because I really did not find what i was looking for within the wiki or that board so far. thanks
I find this topic very confusung too! :-/
For maybe being of help for other people:
- the RAPI.dll not found error is gone, when Active Sync 4.5 is installed at the host-computer, then there are also no further drivers needed
- smartphone has to be attached via usb in the activesync mode
The thing is this:
Nobody explains that right!!!!!!
Sorry maybe i'm a fool!!!!
I think is more easy wait a original ROM upgrade from HTC......
Eduardo
The real interresting question here must be; how to backup / dump my existing ROM to .nbh?
That way it wouldent be so scary to try the different custom roms here, and allso it would be very easy to share our ROM's.
Dump it to RAW, then use "Visual EviusKitchen" - ExtraButtons - Raw2NBH
Dumping programm: HERE
Kitchen U find in forum too, must use sefu
Greetings

How to install

Hi, I'm new here at the forum as well as in the world of upgrading pda.
i wanna ask of how to install something like themes for wmo 6.5 or other software, cus all i got is things and a setup with .xml file which I'm not sure what to do. pls help
thks!!
biotherm said:
Hi, I'm new here at the forum as well as in the world of upgrading pda.
i wanna ask of how to install something like themes for wmo 6.5 or other software, cus all i got is things and a setup with .xml file which I'm not sure what to do. pls help
thks!!
Click to expand...
Click to collapse
You should start looking from
http://wiki.xda-developers.com/index.php?pagename=HTC_Raphael
You will lot of information to learn from this link.

IMGFS with XPH compression, how to create ?

As we see, we just have a first WP7 Custom rom by Ansar.
Look like the fun was just a begin.
However, I have a some question.
How to create IMGFS that can be used.
Because the cecompr_nt.dll we're handle now. It can't create the complete IMGFS.
So it impossible to create the NBH that can be used.
I don't know how, but look like we have many job into the HEX.
but the question is.. how Ansar use to create a compatible IMGFS for WP7.
Sorry for my English,
Thank you.
Have you tried IMGFSfromDUMP to create a IMGFS wih your modification?
I extract IMGFS.bin with htcrie and extract the contens with xidump
Than I edited some files inside the dump folder (default.hv & user.hv with HVEdit)
with IMGFSfromDump I inserted the modifications back to IMGFS.bin
With RomImagTool I split the nbh file into its sub blocks (radio.nb, os.nb,...)
Open os.nb with htcrie and replace IMGFS
Now you have a os.nb with your modifications but after rebuild the nbh with ROMImageTool file the rom is unusable (don't know why).
I tried also to split & rebuild a orginal rom with ROMImageTool (without modifications), but flashing always failed
Yes, but anyway I found the solution.
finally I successful flash my HD7 with my own modification.
I will plan to explain my method soon later.
But now I can just say, you can't made a good rom by only these tool.
because the result was many wrong in the hex code.
I spent three weeks to look every point in the offset and compare to other with hex editor.
so now I know where the point needs to be fixed, It is not difficult if you know what the point in the offset is...
(but it's difficult to learn start from scratch.)
Perlnx said:
finally I successful flash my HD7 with my own modification.
Click to expand...
Click to collapse
Perfect
Hope I will understand the things I've to make to make my own rom
I'm not realy familiar with hex-editing files cause I'm no programer.
But I learn fast
Hope you can soon discribe how everyone can make costum roms.
Please wait until the Mango RTM will come out.
I want to ensure for my unlock solution will not gone after pass the mango update.
Please be patient and wait, I promise everybody will get it
(And that will make the development continue, Who wouldn't like it).
However, I will publish my rom as well.
Now we're testing in the local Thai forum and I will not release any methods until my rom is out.
So please be patient... It would not be longer than expected ;D.
Perlnx said:
Please wait until the Mango RTM will come out.
I want to ensure for my unlock solution will not gone after pass the mango update.
Please be patient and wait, I promise everybody will get it
(And that will make the development continue, Who wouldn't like it).
However, I will publish my rom as well.
Now we're testing in the local Thai forum and I will not release any methods until my rom is out.
So please be patient... It would not be longer than expected ;D.
Click to expand...
Click to collapse
My question I've been wondering for a while.. how does one even DUMP a ROM from their current phone?? I have a Samsung Focus and I think it would be nice to be able to Dump the ROM and look at contents.
I don't know how to dump content from cellphone.
but you can use htcrie to extract Samsung rom with largest *.nb0.
here a tool to create the signed nbh file
works great for me
nbhMerge
sandman01 said:
here a tool to create the signed nbh file
Click to expand...
Click to collapse
UNsigned nbh file
Sorry wrong thread ignore please

Categories

Resources