[UPDATED 30.03.11] HD2 Windows Phone Development - HD2 Windows Phone 7 Development

UPDATED 30.03.11
htcrie v.0.7.0.46
+ Added the ability to increase the size of IMGFS partition.
(MaxDataSize: 244 Mb)
+ User Partition not present in ROM more.
(640 Kb+ )
- The command line is not supported by more in the public version.
+ Custom Logo.
Not all images support yet.
---------------------------------------------------------------------------------------------------------------
Now we can:
- change the content of imgfs and use 244 Mb of free space
- edit registry
- create and replace custom Bitmap (first Logo)
- extract all partition(s), file(s), package(s) and s.o.
Thanks a lot to Football and Mag Light for helping me to test this feature,
because I do not have any wp7 device.
1. To extract contetnt of IMGFS/BLDR/SLDR/NK/LOGO use htcRIE_0.7.0.46
Files:
Code:
Select IMGFS -> Select All Items (Click One Item -> Ctrl+A) -> Save selected files
Partition:
Code:
Select IMGFS -> Save selected files
Packages:
Code:
Select IMGFS -> Select SYS/OEM/Packege(s) -> Save selected files
2. To edit default.hv and user.hv use HVEdit_v.2.0.112
You can use drag-and-drop. Create shortcut first.
3. To rebuild IMGFS use imgfsfromdump (or other tool), but don`t forget a new cecompr_nt.dll (with XPH compression type support).
You can use cecompr7_nt.dll from htcRIE_0.7.0.46.zip, but rename to cecompr_nt.dll first.
4. To replace IMGFS use htcRIE_0.7.0.46 again.
Code:
Select IMGFS -> Add File -> Choose a new *.bin file (save command don´t need)
5. To replace custom Bitmap use 24-Bit-Bitmap (480x800)
Code:
Select Logo0 -> Add File -> Choose a new *.bmp file (save command don´t need)
First WP7 Custom ROMs:
HTC Leo - Project "moon light" [WP7] [RUS]
HTC Leo - Project WыньPhone7 [WP7], HTC HD2 / HTC T8585
AnDim

Am i smelling something fresh???

something good is coming .... i can feel it

What's Coming.................

looking forward to it

Yeah, it will start season for "cooked" rom's?

Direkts said:
Yeah, it will start season for "cooked" rom's?
Click to expand...
Click to collapse
It was about time!

reserved for comment about it

@[email protected] battery life must be decent please!
Sent from my HTC hd2 miui using XDA App

Oh boy im getting excited

Post reserved to heap praise/pour scorn on OP depending on what they deliver.

exciting now I can not sleep

this is probably the best ever of whatever whenever...

why is everybody so happy what are you guys feeling .... I wonna feel it too

I cant wait. Thank you guys for making this possible. Just about to sell my baby, but I can wait another year for this.

Added some info.
Hi all!
A newTool in test now ...
Some links:
HTC Leo - Project "moon light" [WP7] [RUS]
HTC Leo - Project WыньPhone7 [WP7], HTC HD2 / HTC T8585
AnDim

wouaw
i can't believe it!
I want this tool

hey nice work I just got a stupid question do you think it will be able to fix the multitouch error in future?

ROM is released. With tweaks applied.

Gonna test this
If chrome is translating the pages correctly, then this means that they have built a wp7 rom that has the registry tweak built in, and possibly fixes the battery life. Although i'm not sure if it is only 512 MB ROM compatible, or if it only uses 512 MB of ROM.
Support for T-Mobile HD2 (available only 512 MB of ROM).
I will take the plunge, and flash this. It says that it supports English language, so I shall soon find out. Subscribing just in case.

Related

[A087RC4] NeoKit easy2use rom cook/modding tool

hiho,
i made an easy to use romcooking tool (i use it for moding my favorit roms )
its still alpha but if someone like to test it. ON YOUR OWN RISK !!!
because its written in C# and you can easyliy work with diffrent roms @ same time
just select an *nbf and this tool dumps it into a folder beside this file
i.e. no need for winhex(initflashfiles.dat) and default.rgu are save in the correct format automaticly
for simply add/remove files and/or regtweaks everthing is included
the scripts based on Molski's kitchen updated with bigstorage imagetools
the main app is the neokit.exe
have fun
inteks
you like it ? let me know ;-) --->>> DONATE
update version a087:
http://rapidshare.com/files/139239824/NeoKitSetup_A087RC4_.msi.html
PKGTool.exe isnt needed anymore "refreshPackageInfos" works much faster now
Setup is fixed , you dont need to uninstall old vers of NeoKit before installing the new one (after this version!!)
update version a084:
http://rapidshare.com/files/138975571/NeoKitSetup_A084RC3_.msi.html
some bugfixes. + skip extrom if empty + a small LNK file editor on doubleclick *.lnk
update version a083:
fixed a bug in neoflash (uc config)
goes back to framework 2.0 !!!
update version a081:
look @ http://forum.xda-developers.com/showthread.php?p=2474684#post2474684
update version a080:
the buid process is more automated now
the new build nbf file is copied together with RUU into "ROMDUMP\UpdateFiles"
G'Reloc is back
it has a setup now
a 'small' UC Config tool is included (path is fixed to \Storage Card\Cabs)
on the UC Config tab the files in "\Storage Card\Cabs" are listed (if you prophet is connected)
you can check which ones to install. sdconfig.txt is written directly to your storagecard.
you can also clear the autorun flag in registry and run checkautorun.exe directly to test your setup.
have fun
inteks
ps:
ist finally fixed that neokit can run from "long" pathnames. it can now run from i.e. "c:\program files\.... .....\neokit"
the setup will add the filetyp ".nbf" to registry. you can edit rom bei dubbleclick now ;-)
update version a070:
ok. beside some other fixes and optimations the most interesting new feature is the "comparer" button on the 'Files' tab!
you can select an other rom and neotab hides all files included in both roms!!!
in other words.
select a "reference" rom i.e. micro V3 as smallest but working rom and neokit hides all files that are "needed" !!!
you can edit/remove the files that are not really needed ;-)
update version a061:
Fileinfos(comments) are included in fulltextsearch now ;-)
update version a060:
1. i removed package import because it dont work as it should !! i dont dont why. . .
2. i fixed many bugs and put proper errorhandling in most functions.
update version a050:
biggest new feature is automated dumping and building of extension.rom
on the filestab you can select "remove" OR "moveto extRom"
if you move *.dll to extrom, then neokit ask you to include extRom in SystemPath! ;-)
update version a035:
added a treeview for packages
update version a034:
fixed a bug when option.xml is not unicode.
and i've added a ceipui.exe for WM6.1
if you remove this file you get an error messsage on boot. so i compiled a replacement that does absolutly nothing
update version a033:
added a fulltextsearch on the "files" tab ;-)
update version a032:
fixed some bugs when importing OEM Packs. pls copy the exefile into neokit folder.
update version a030:
add's OEM packeage import support
update version a021:
this is an hotfix only! pls replace the neokit.exe from version a020!!!
this version brings a big new feature ->
neokit creates a folder in its apppath called Fileinfo
on the filetab in the contextmenu you can "add comments" for everyfile
this comments saved as Filename+txt AND they are shown as tooltip AND they are on every dump you work on AND they are shareable !!!
I.E. -> if you know a file cant be removed because your neo dont boot without that file, add comment and share your comments here ;-)
update version a020:
new pic preview with thumbs
on the fly UPX compresion
removing with contextmenu now to prevent removing by mistake / removed items are red
screen -> http://m8z.de/screen.a020.PNG
update version a010:
ok. here is a new version with some really nize features ;-)
->winimage is included and there is a new button to edit extrom
->reshacker is included, on the fileTab in contextmenu you can open every file directly with reshacker !!!
if you edit resources with reshacker click "save" in reshacker then close reshacker.
neokit will "wait" till you exit reshacker and then it moves the *_original.* file to "ReshackerBackups" .
i also added "reversmode.exe" to edit the resources of "moduls" BUT NOT ALL DLL/EXE WORK AFTER CONVERSION MODUL->DLL->MODUL
if such a Modul not work try using the DLL file instead.
btw. its a multipart rar renamed to .zip
update version a006:
found and fixed this bug:
"Could not open input file '80040000-OS.nb'. Aborting."
it occurs on "long" filenames in path to nk.nbf. sorry for the circumstances
update version a005:
if you use an extendedRom you can put your tools into the extrom folder. on the initflashfiles tab click createstartmenuentry to create a linkfile to your tool
neokit reads the name of your "should be unlocked" extrom out of default.rgu ;-)
sample:
i put my neotab.exe in my extrom called "xFlash"
then neokit create a linkfile like 20#"\xFlash\neotab.exe" and an entry like Directory("\Windows\Start Menu\Programs"):-File("neotab","\Windows\neotab")
(you still have to build and translate the extension.nb for yourself !!!)
some bugfixes
update version a004:
runtimeerror on filestab fixed
http://forum.xda-developers.com/attachment.php?attachmentid=66063&d=1200406481
update version a003:
-"search" now search over default.rgu+user.rgu
-you can filter out packages in the filestab
-a new button to recreate packageinfos (if you copy the content of an OEM package to the dump dir)
-a contextmenu on filestab to edit i.e. bitmaps (it open the standart edit progy for that file)
http://forum.xda-developers.com/attachment.php?attachmentid=65915&d=1200321831
EDIT:
howto ->
1. select the *.nbf you like to work with
2. dump rom
3. if needed go to the default.rgu / user.rgu tab
3a. click create/load default.rgu
3b. make changes (if needed)
3c. click save
3d. if there are no errors !!!! click "copy to dump"
4. click load to load the initflashfiles.dat
4a. you can edit this file
4b. you can create lnk files from exe file in the dump dir
4c. you can create programs entrys automaticly like
i.e."Directory("\Windows\Start Menu"):-File("MediaPlayer.lnk","\Windows\PLAYER.lnk")"
4d click save (neokit removes the first 2 bytes no need for winhex)
5. removing files ->> neokit moves all selected file to the "removed" dir and move them back to dump if you deselect them ;-)
6. now click "build rom"
7. if there are no error click nb2nbf tool (create the nbf file in the neokit dir !!!)
7a. modelID -> Prophet
7b. outputfile should be -> ..\neokit\nk.nbf
7c. check File # 1: and browse to the newos.nb in the ROMDUMP dir
7d. Image Name -> select OS (Start address is filled automaticly)
7e. then click translate
8. click G3 or G4 !!! and then "start RUU" to flash the cooked rom . thats it.
your phone should allready hardSPL patched. !!!! ->>> http://forum.xda-developers.com/showthread.php?t=350033
you could make a manual please???
Thanks
Thanks! very good
I found out that you should use the tool from the root directory.
Otherwise you (eg I) get an errormessage.
ruipgouveia said:
you could make a manual please???
Thanks
Click to expand...
Click to collapse
this alpha version is in first for people that know what to do.
if you need help than read i.e the pdf that is included in Molski's kitchen.
but i will write some info text like on the "files" tab in next versions
skylow said:
I found out that you should use the tool from the root directory.
Otherwise you (eg I) get an errormessage.
Click to expand...
Click to collapse
yepp neokit expect all commandline tools in its own appdirectoy
how to use this tool, If I want to add some program, that from OEM?
varanusvincent said:
how to use this tool, If I want to add some program, that from OEM?
Click to expand...
Click to collapse
you can manually add file to the dump directory BUT
since bigstorage is possible it doesnt make sense to ADD files then to REMOVE files !!!
everything in ROM cant be deinstalled later !!!!!!
i for myself do the following -> i remove files, flash, if it doesnt work i put them back and try again ;-)
Okay this looks brilliant.
I've got as far as dumping a rom, building it.
When I come to the nb2nbf dialog box I get stuck. I have no idea what values to enter in the boxes! Please help, thanks.
I saved this from another thread, if this is what you need:
ModelID - PM300
Lang - WWE
OEM v. - any
operator v. - any
CID- clear
StartAddres - 80040000
ImageName - OS
littld said:
Okay this looks brilliant.
I've got as far as dumping a rom, building it.
When I come to the nb2nbf dialog box I get stuck. I have no idea what values to enter in the boxes! Please help, thanks.
Click to expand...
Click to collapse
pls have look @ this http://forum.xda-developers.com/showthread.php?t=350033 thread.
modelID -> Prophet
outputfile should be -> ..\neokit\nk.nbf
check File # 1: and browse to the newos.nb in the ROMDUMP dir
Image Name -> select OS
Start address is filled automaticly
then click translate
Thanks. If I don't include anything for the Extension rom, is that just wasted space on the device? Can I build a rom with no Extension?
littld said:
Thanks. If I don't include anything for the Extension rom, is that just wasted space on the device? Can I build a rom with no Extension?
Click to expand...
Click to collapse
in my own rom i unlocked & unhide the extended rom
and yes you can build a rom without extended rom, but the extended rom it cleared on flashing !!!
Great tool! Does it work on Wizard? If so, that'll be an easy of use ROM maker.
Thanks....
Com_Reg said:
Great tool! Does it work on Wizard? If so, that'll be an easy of use ROM maker.
Thanks....
Click to expand...
Click to collapse
i dont know i dont have a wizard.
I'm trying your tool, but Is possible to remove Windows Media Player?
humrod said:
I'm trying your tool, but Is possible to remove Windows Media Player?
Click to expand...
Click to collapse
i removed the wmplayer app in my rom, but i dont know for shure witch dll's needed for mp3 ringtones.
if you completly remove the package you loose mp3+wma ringtones.
i use korands 2.5 superclean as base rom and i removed sql mobile and wmplayer app and the kamera app (coolcamera works great and is only 52kb )
i am near 70mb on a G4 neo ;-)
i just want to make some minor adjustments in the korand 2.5 rom. it is already bigstorage.
is there anything i need to pay attention to?
and how can i modify/delete/add any registry key before i create the new rom?
cheers.
p. s.: found it.
Hi...
i tried to dump PDAViet Mysterious 1.0
replaced some png images (phone and comm manager)
generate default.hv and user.hv
build the os.nb (file size is smaller then original)
create the nk.nbf and include the dumped Extension.nb file (file size is smaller then original)
after flashing, my prophet hangs on boot screen...
Edit:
resolved on my own...
inteks said:
this alpha version is in first for people that know what to do.
if you need help than read i.e the pdf that is included in Molski's kitchen.
Click to expand...
Click to collapse
Thanks i cand find the pdf file man.
please send to me
ruipgouveia said:
Thanks i cand find the pdf file man.
please send to me
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=297027
or better here http://www.molski.biz/romcooking.html on his website ;-)

An Idiot's Guide - The Lazy Gourmet!!!

So, you wanna cook a rom but don't know where to start??? Is the Raphael Kitchen & PPCKitchen to complicated? Are you only interested in changing a few graphics, or removing programs from a rom that you don't use?
Well, then this thread is for you. This info is also good for chefs with existing builds that want to make quick changes to OEM packages & keep their rom up to date with the latest apps & packages.
Firstly, I need everyone to say a big thank you to Bepe, Tolstoy at PPCGeeks, Bot, Kyphur, Oli, Pof, Cmonex, & a big thank you to qsqa!!!
This lite kitchen will allow you to make changes easily to all stock roms & even to cooked roms, if your chef is kind & confident enough to create a version that includes all of the rgu & dsm files. Have a paticular rom you like & only wish to change a few items? Ask your favorite chef to get with the spirit of XDA-Developers & to create an easybake compliant rom! Just like qsqa did!!!
I will also be releasing a rom, light & very empty for all of you wishing to have a rom that is suited best for the person that has to use it, YOU!
I will be including guides, tools, suggestions, roms & all the things necesarry to create your very own customized rom, both easily & based on a good solid stable build.
This is an easy five step process that allows you to make any unprotected rom your own & the tools & methods have been only slightly adapted by me from a nice guide prepared by Tolstoy aimed at CDMA devices.
First Things First - Preparing for your easybake experience!
Download the attached Raph_Blank_Kitchen at the bottom of post #1 or from here: http://rapidshare.com/files/174704051/RAPH_blank_kitchen.rar Uncompress/extract the Raph_Blank_Kitchen to your C: drive.
Find & download any OEM shipped/extracted or easybake compliant unprotected rom such as that I will release shortly, or from qsqa, i.e. PROven 1.08
After Extracting your new Raph Easybake Kitchen you will find a folder in C: named Raph_Blank_Kitchen. Within this directory you will find several more folders:
1: OEMizer - a tool to help you create oem packages, registry tweaks or provisioning xml's.
2: RUU - This folder is the output folder where you will find your rom completed & ready for flashing after an easy 5-step baking process.
3: Tools - This folder contains everything you need to cook a rom, change the page pool, etc...
Within the root directory, you will also find the following files/programs:
1: PrepIt.bat - This script deconstructs any Rom, seperating it into OEM, SYS, & ROM folders, placing the modules & files in their appropriate place for cooking. After running Prepit.bat you will see 3 new folders inside your kitchen, OEM, ROM & SYS.
A. OEM - This is the directory in the kitchen that you will copy your OEM packages into to add programs to your rom. You can also delete packages included by other easybake friendly roms.
B.SYS - This is the similar to the OEM in that you can delete packages from the donor rom, changing packages here will require the use of G'Reloc & possibly RebuildDSM or BuildDSM. Deletion of packages however is easy.
C: ROM - You won't do anything with this folder at this point in your chefdom, but this is where the OS & XIP meet.
2: G'Reloc.exe - This will relocate modules that you have altered.
3: BuildOS.exe - This builds the operating system portion. It combines the OEM's and System files.
4: BuildIt.bat - This script builds your rom. It will Package everything together and copies your new rom to the RUU directory.
Now you got it all set up!!! So, How easy is it???
Try 5 easy steps!!!
Yep!!! Five steps to your own cleaner customized rom:
1- PrepIt.bat
2- Add/Remove OEM Packages/Tweaks/Files
3- BuildOS
4- BuildIt.bat
5- Flash your newly customized Rom
Other important info:
So, now you have extracted the Kitchen to the C: drive, copied the base rom (.NBH file)
Step Details:
Step #1: Deconstructing your base rom
Run PrepIt.bat - Just double click on the file named PrepIt.bat, or run it from the CMD Prompt. This will again seperate the nb content from the nbh, split the nb content into the IMGFS & XIP Content, & Dump the Imgfs into the appropriate SYS or OEM Folder. This step also renames your donor rom to Input.nbh.
Step #2: Adding or Removing OEM & SYS Packages
Addng programs, registry tweaks, or provisioning xml's is as easy as copying the oem package into the OEM folder. Nothing to it! Oem packages can be made or downloaded from numerous sources.
ADD PROGRAMS- simply drag your OEM from the right PPCGEEKS_OEM directory and drop it into the c:\kitchen\OEM folder
Removing Items can be a little bit tricky. Use common sense here. Look for packages named after whatever you want removed & delete them. Most anything in an OEM folder can be removed with little consequence, some thing in the SYS folder you don't want to mess with though. Take a look, look for the name of what you want gone & if its a simple program like Total Commander for instance, just delete the appropriate folder & it will be gone.
Step #3: BuildOS.exe
Just click the BuildOS.exe BuildOS will then build a new OS while adding/removing the OEM packages that you either added or deleted in step two. Clicking BuildOS.exe will bring up a new window, That is the BuildOS program. In the window you should see most of the OEMS that you added. Make sure you check mark the OEM Packages that you have added. Once you are sure you have selected all the programs you want added to the rom, click that green arrow in the upper left of the window. This will create the OS. You will see the green progress bar to the bottom right.
BuildOS will say DONE in the bottom status area when complete.
There are a few things that can go wrong, but the most common is duplicate packages. Make sure your not adding a duplicate package to the rom & you should be okay.
Step #4: BuildIt.bat
This step will go thru the process of reconstructing the newly moddified rom back into the .nb & then the .nbh flashable format. If all went well, you'll have a new RUU_Signed.nbh in the RUU folder directory.
Step #5: Flash your new ROM
In the RUU folder you will find your new rom & the tools needed to flash it. Just click the ROMUpdateUtility.exe & it will flash your new rom.
Changing the Pagepool...
Now that your rom is complete, you may want to change the pagepool. Again, I have included everything you need to accomplish this in the Tools folder.
Step 1: Open the XVI32 folder & launch xvi32. Open the newly created rom in the RUU folder named RUU_Signed.nbh or drag & drop it to the XVI32 folder. In XVI32, use the search function. Select the bubble that says "Hex" & search for this hex string: 03 15 A0 03 02 15 A0 13 00 10 82 E5
Change the last four numbers to 00 00 A0 E1
Then press F3 on your keyboard or search for the Hex string: 03 15 A0 03 02 15 A0 13 00 10 82 E5 once again & again change the last four digits to 00 00 A0 E1.
The page pool is now NOP & can be opened & set to whatever number you like using the pagepool changer I've included in the Tools folder.
Moddifying Graphics & Customizing Packages
Coming Soon!
Other Useful & Important Tools
There are several tools that make customizing roms fun, fast & best of all...FREE. Of course there are other tools that cost money that are recommended, but let's see what we can come up with as for suggestions of free or low cost software for customizing roms. Where available & as time permits I will upload all of the tools &/or give links to the developers website along with basic instructions for making their use easy & frustration free!
A few of the must haves are as follows:
1. CERegistryEditor - This is an amazing tool that allows you to make registry changes on your device via activesync, export registry setting, unlock your registry, etc... This tool will also work with all registry formats including .reg, .rgu & most importantly .hv registry hives can be edited directly. This tool is amazing & very powerful as it allows you to export values as .rgu files that can then bee made into registry tweak OEM packages with the already included OEMizer or made into provisioning xml's using the famed rgu2xml tool in conjucntion with the OEMizer.
Coming soon: Tips & examples on using this tool to create registry & provxml packages.
2. EditPad Lite - EditPad Lite is a free version of EditPad Pro & is simply the BEST free text editor around period. EditPad will allow you to directly read & modify many important file such as initflash.dat. This allows you to remove or add things to your rom such as Folders, Start Menu items, etc... You can also use it to modify .rgu files, .reg files, .lnk shorcuts & many more.
Coming soon: Tips & examples on using this tool to modify many things in your rom.
3. Gimp - This is an amazing & most importantly free, graphic editing tool that handles numerous image file types. This can be used to edit, modify or change images to suit your own tastes. Items such as Dialer & Dial Pad Graphics & colors can easily be modified with gimp. Icons & folder icons, such as .ico files can also be edited allowing you to customize your folder icons when used in cojunction with PEexplorer, Gconvert, or Resource Tuner. Simply put, Gimp is a necesarry tool of great value when it comes to modifying or even creating new or existing graphics & images.
Coming soon: Tips & examples on using this tool to modify many things in your rom. Including an overview of some of the greatest & most overlooked features included in this tool.
Okay last one
EasyBake Compliant ROM's & Chefs!!!
1: PROven 1.0x by qsqa
2: M-ROM 1.1 by merten3000
3: Semilite or v2final by Aruppenthal
4: G3 Lite & Ultralight - Coming Soon!
Come on Elite Team!!! Other Chef's! Get with the spirit of XDA & let's see what happens when we are all free to expand on others breakthroughs!!!
Wow, I just start using it, want to modify qsqa rom LOL Thank You!
By the way I'm using win vista, hope everything of the kitchen work with it.
Again Thank You!
I think this deserves to be sticky. At least for the time being
ahh this program basically ensures me spending more time messing with my phone =]
thanks for your hard work!
Is this working with Vista 64-bit?
im running vista 64 and it works perfectly fine
just be sure to run as admin
beautiful tutorial,. congratulations and thank you GSLEON,.
hchavarria said:
Is this working with Vista 64-bit?
Click to expand...
Click to collapse
sure,.
When you have all needed files installed, it should work,.
any idea if this will work for tilt roms as well?
sdale said:
any idea if this will work for tilt roms as well?
Click to expand...
Click to collapse
The kitchen would need some modification to work on the tilt I believe. GSleon3 could say for sure. I will take a look at it if i get a chance.
BTW great work on this GSleon3
what a useless thread...... unsticky this please!!!!!!
LMAO JK gsleon..... Great job on this bud!!!
This Cooking device [kitchen] will not work with the new [ROM][DUTCH][28-12-2008] M-Rom v1.3 (XIP/SYS build 20931) 'unprotected' from merten3000.
Thanks for this thread and info. I want to begin cooking ROMs and was not sure where to start but now I do.
I would like to use the latest AT&T ROM for my build. How can one make it unprotected so it can be used in your kitchen?
I have the Sprint version of the HTC Touch and I would like to start cooking my own ROMs but I am having a hard time finding the Base ROM to Start cooking, (the ???.nbh file). If someone could guide me as to where I can get one of these file I would appreciate it. Is this something I can pull from my phone and if so what is the name of the file. Thanks

[ROLLUP](13/08/09) Avoid confusions or damages => Find answers, Guides, Links

ROLLUP - HTC TOUCH DIAMOND 2
Respect the Rules & Check in Questions&Answers for known solved problems
First, What is a HTC TD2?
This is the HTC T535X / HTC Touch Diamond 2 / T-Mobile MDA Compact V,
But you probably knew that already...
So here is a rollup thread about 'anything' you need to know about the TD2,
If you find any errors, missing items, old items to be renewed, idea's
Please e-mail me at [email protected]
Moderator Edit: You may PM me for any questions you have about the Topaz. Send PM's to "ThaDeanesta"
This guide is based on KOKOTAS' work for the Elfin which helped me a lot!
Contents:
=> Information
=> Unlocking, Flashing, ...
=> Modifying, Cooking, ...
=> Troubleshooting
=> Tests, Projects, Links
=> Outro and Credits
Recent Updates
Code:
26/06/09 - First Release.
03/07/09 - Added some registry tweaks, Corrected some spelling errors.
11/07/09 - Added a new section, 'Applications'.
14/07/09 - Added some registry tweaks, Added a application.
16/07/09 - Added a project; How to add folders to TF3D program tab.
25/07/09 - Added a useful link, The Newbie Guide At Configuring iGO8.
28/07/09 - Added a new registry edit And a new credit.
12/08/09 - Added a new tool to flash a radio and a free SIM Unlocker.
13/08/09 - Added a alternative to creating the goldcard and corrected some spelling mistakes.
14/08/09 - Added some applications, some credits and corrected the layout a little bit.
16/08/09 - Added a few applications and their credits.
27/09/09 - Edited the link for the radio's
08/10/09 - Added a guide for hspl, radio's & more.
Information
Click to expand...
Click to collapse
1. General
1.1) HTC Touch Diamond 2 Wiki
1.2) HTC Touch Diamond 2 Specifications
2. Useful terms
2.1) Technical Terms
2.2) Glossary
2.3) Services & DLL's
3. Things you should know about your device
3.1) Availble ROM & RAM size:
Go to settings > Device Information > Hardware
Check out "RAM Size" & "Flash Size"
3.2) IMEI:
To get your IMEI just dial " *#06# " And 17-digits should appear, The first 15 are your IMEI
3.3) CID: When using ATcommander issue, and use the command: [email protected]?
3.4) Device ID:
When using mtty Go into the bootloader (soft reset & hold volume down pressed) and use the command: info 8
4. Educational Reading
4.1) Kaiser's G.W.E.N.I It might be for Kaiser, But it's very useful.
4.2) On this site I will soon launch a full guide about the Topaz in DUTCH
Unlocking, Flashing, ...
Click to expand...
Click to collapse
5. Unbricking
5.1) Gold Card
Since there is no wikipage about this, I'll quickly discribe how you can do this
1] Requirements:
- A working WM Device (used to obtain the microSD card's ID)
- The shipped stock rom your phone came with (Shipped Roms for HTC Touch Diamond 2)
- Qmat (Latest version of Qmat)
2] Format your SD card into FAT32:
- go into dos and type:
format <volume> /FS:FAT32 /A:4096
3] Run Qmat to create a gold card:
- Put the formatted microSD card in the working WM device and connect via ActiveSync
- Run Qmat, Go to Hardware Forensics and select 'Generate HTC Goldcard'
- Select your bricked device's key
- Get the SD Card Serial from WINCE Device
- Save the Goldcard image to the SD Card
Now you have a SuperCID which allows you to flash any shipped ROM
4] Go into the bootloader with inserted goldcard and run the .exe from the Shipped rom
5.2) If all else fails, you can PM Cmonex she will make one for you
But perhaps, It's better if you first try yourself?
6. Dumping a ROM
This is basicly a backup of your ROM, Note that this does not backup any personal information on the phone
6.1) Dump Rom
7. CID Unlock your phone
This will allow you to flash ANY ROM with a different CID on your phone (e.g. Custom ROM)
7.1) HARDSPL, CID Unlock with overwrite protection
In this topic you also see how to remove the CID lock (if you want to send the phone back...)
Before you take any further steps, Please confirm that your device now has a HARDSPL, by going into the bootloader,
Then check the SPL it should say "1.33.OliNex"
7.2) Security Unlock
This is a security unlock tool that will remove the CID & SIM lock on your device
8. SIM Unlock your phone
8.1) Free SIM Unlocker for contributing XDA members
8.2) Commercial SIM Unlocker 1
8.3) Commercial SIM Unlocker 2
9. Availble ROMS, Radios, SPL's
9.1) Shipped Roms
9.2) Custom Roms
9.3) Available radio's --- Alternatively, You can flash any radio with this tool
9.4) Available (H)SPL's
Modifying, Cooking, ...
Click to expand...
Click to collapse
10. Kitchens
This is used to rebuild and or modify shipped roms, and by this produce custom roms
10.1) WM 6.1 / 6.5 Visual Topaz Kitchen
10.2) WM 6.1 Kitchen
10.3) WM 6.5 Native Kernel, ...
11. Modifying & Cooking Stuff
11.1) Guide to cook for Xperia, But it's the same for all devices
11.2) Full XIP Porting (& more)
11.3) OEM Package Tutorial
11.4) Windows Mobile 6 Emulator to test your cabs
12. Useful registry edits
Here I will list some useful and most wanted registry edits, You can perform these with any registry editor.
12.01) Remove the locked program tab items
Code:
HKLM/Software/HTC/Manila/ProgramLauncher/0/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/1/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/2/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/3/IsReadOnly
Change this value from 1 to a 0 and you can then edit their shortcuts.
12.02) Always keep WiFi on
Code:
HKLM/Comm/BCMSDDHD1/Parms/HTCKeepWifiOnWhenUnattended
Change this value from 0 to 1 and WiFi will stay on.
12.03) Smoothen out GPS Usage (not really a registry edit)
Code:
A. With Advanced config in the GPS menu
- disable A-GPS
- disable GPS logging
- logfile name must be empty
- old logfile name must be empty
- maximum size of logfile must be 0
- delete the file:
\windows\GPSLogFile.txt and \windows\GPSLogFileBack.txt
12.04) Enable Manila Landscape mode
Code:
1. Add string value to HKCU\Software\HTC\Manila
String: EnableLandscape Value: true
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: TF3D Value: \Windows\manila.exe
3. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: TF3D Value: Manila
More registry edits to enable landscape mode, You can find here
12.05) Boost TouchFLo3D performance
Code:
HKLM,"System\GDI\GLYPHCACHE","limit", Change this value to 32768
HKLM,"Software\OEM\TFLOSettings","SpeedHigh",Change this value to 25
HKLM,"Software\OEM\TFLOSettings","SpeedLow", Change this value to 14
12.06) Enable Burst, Sport & Video Share mode in the camera
Code:
HKLM,"Software\HTC\Camera\P10","Enable",0x00010001,1
HKLM,"Software\HTC\Camera\P6","Enable"
HKLM,"Software\HTC\Camera\P8","Enable"
HKLM,"Software\HTC\Camera\P9","Enable"
Change these value's to 1 to enable
12.07) Prevent screen switching off during phone call
Code:
HKCU,"ControlPanel\Phone","Sleep",
Change this value to 0 to disable
12.08) Enable better power management
Code:
HKLM,"Drivers\SDCARD\ClientDrivers\Class\SIM_Class","DisablePowerManagement"
HKLM,"Drivers\SDCARD\ClientDrivers\Class\MMC_Class","DisablePowerManagement"
HKLM,"Drivers\SDCARD\ClientDrivers\Class\NAND_Class","DisablePowerManagement"
Change these value's to 0
12.09) Increase volume during call
Code:
HKCU,"ControlPanel\SoundCategories\InCall","InitVol",
Change this value to 4
12.10) Show or Hide Activesync
Code:
HKCU, "Software\HTC\TaskManager\ExclusiveList\System,
Make a new dword named "Repllog.exe" Change the value to 1 to show,
Or change it to 0 to hide
Troubleshooting
Click to expand...
Click to collapse
13. Troubleshooting
13.1) My device is bricked
13.2) Bootloader Errors
13.3) ActiveSync fails
13.4) Battery Life Issue's
14. Manuals
14.1) HTC Touch Diamond 2 Manual
14.2) HTC Touch Diamond 2 Disassebly Guide
Tests, Projects, Links
Click to expand...
Click to collapse
15. Useful Applications
15.01) Stop PushInternet, For Real
15.02) Soft Reset Button
15.03) Enable Battery status in the notification manager, Note that this doesn't work for 100% in languages other then WWE
15.04) Rhodium dialer for Topaz, Note that this disables the in-call curtain and enables conference calls
15.05) TF3D / Titanium Toggler
15.06) HTCPedia Topaz Settings tool Alternatively you can get the messaging only application here.
15.07) WiFi Smartlauncher
15.08) Birthdays To Calender app
15.09) Music Recognition app
Want your application here? Know an application that is extremely helpful? e-mail me at [email protected]
Click to expand...
Click to collapse
16. Alternative OS
16.1) Android on HTC Touch Diamond 2
17. Benchmarking
17.1) Serval benchmarks on Custom Roms
18. Projects
18.1) XDA UC
18.2) WM Img Updating system
18.2) How to put folders in the TF3D program tab
19. Useful Links
19.1) Touch Friendly programs for WM
19.2) Tweaks & Tricks
19.3) The MIDlet bible
19.4) Discussion about a Matt cover for the HTC Touch Diamond 2
19.5) Facebook Integration, How to get it back.
19.6) Custom RUU to put in .nbh files
19.7) The Newbie Guide To Configure iGO8
19.8) Guide to installing Hspl, Radio's & more!
Outro & Credits
Click to expand...
Click to collapse
20. Outro
* If you didn't find what you were looking for, Use the Search function
* Don't try anything with your phone if you are not sure of what you are doing, To be sure of what you are doing you have to search, read, reread, understand... If you are still unsure, ASK before breaking your precious phone!
* Being grateful is a virtue, Don't forget to donate to anyone who spent a lot of time in any of these items.
* @Mods feel free to edit this thread, add or remove things, But please make sure it fits the overall lay-out. Thanks
21. Credits
Code:
* [B]KOKOTAS[/B]
* [B]Neotelos_com[/B]
* [B]SkunkyGwen[/B]
* [B]cmonex[/B]
* [B]Olipro[/B]
* [B]rajan nishchal[/B]
* [B]its right[/B]
* [B]jerpelea[/B]
* [B]Da_G[/B]
* [B]gtrab[/B]
* [B]Ameet[/B]
* [B]pedroo[/B]
* [B]shadowline[/B]
* [B]pietrucci[/B]
* [B]Noonski[/B]
* [B]Menneisyys[/B]
* [B]dsixda[/B]
* [B]Tom_Condon[/B]
* [B]udK[/B]
* [B]Mkoz[/B]
* [B]TinTin
* BeeGee_Tokyo
* qbus00[/B]
[B]* prdic[/B]
[B]* hEiMDaLL[/B]
[B]* !aman![/B]
[B]* elmalote[/B]
[B]* jklondon[/B]
[B]* dcogen[/B]
Forgot you? Want a change? [B][U]Please e-mail me at [/U][/B][EMAIL="[email protected]"][email protected][/EMAIL]
Note that I do not take ANY credit for anything that has been posted. I simply added it all to one thread,
If you want to donate to me, that is great, But first think of the dev's who made this possible.
This guide is written by Jeutie, Based on an earlier made guide by KOKOTAS, And cannot be copied without my permission.
And if you get the permission to copy this guide,
Please give credit to all the developers listed above,
They put hard work into all of this!
*reserved*
@Mods, Please sticky this thread, it summarises what's in the other stickies, And if anything isn't added yet, I'll do that asap.
*edit*
Thank you Tom
jeutie said:
*reserved*
@Mods, Please sticky this thread, it summarises what's in the other stickies, And if anything isn't added yet, I'll do that asap.
Click to expand...
Click to collapse
nice job
I sticked this thread.!
Tom
This Topaz sticky links to a free unlocker for the HTC Touch.
Is this a fault or does it really work for the Topaz/TD2? HTC Touch SIM Unlocker (free)
mickman said:
This Topaz sticky links to a free unlocker for the HTC Touch.
Is this a fault or does it really work for the Topaz/TD2? HTC Touch SIM Unlocker (free)
Click to expand...
Click to collapse
Looks like a mistake to me.
Will edit it to avoid confusion.
Thanks
Well it should be universal... But I didn't try it, because my phone doesn't have a simlock... But thanks l3v5y ^^
jeutie said:
Well it should be universal... But I didn't try it, because my phone doesn't have a simlock... But thanks l3v5y ^^
Click to expand...
Click to collapse
Ah right. I wasn't sure, and thought there would be a lower risk of damaging devices if it wasn't there...
The newer unlocks (Diamond, Raphael etc) all flash a new radio to the device, which if using the wrong device/radio could break things.
l3v5y said:
Ah right. I wasn't sure, and thought there would be a lower risk of damaging devices if it wasn't there...
The newer unlocks (Diamond, Raphael etc) all flash a new radio to the device, which if using the wrong device/radio could break things.
Click to expand...
Click to collapse
Yup true ;-) I'll look around if I find one for the TD2
l3v5y said:
Ah right. I wasn't sure, and thought there would be a lower risk of damaging devices if it wasn't there...
The newer unlocks (Diamond, Raphael etc) all flash a new radio to the device, which if using the wrong device/radio could break things.
Click to expand...
Click to collapse
not really as we check what device you are buying for.
jeutie said:
Well it should be universal... But I didn't try it, because my phone doesn't have a simlock... But thanks l3v5y ^^
Click to expand...
Click to collapse
the htc touch (elf) unlocker won't work. totally different radio & security
PS: I sent you a PM
Got the pm, added all the content, Thanks m8 ^^
- Sorry for the inactivity, I'm busy with exams & such -
And also thanks !Aman! your changes have been made aswell.
I'd just like to say a big big thankyou to the founders of xda-developers, all the chefs and cooks, all the app makers, the creators of threads like this one, and all the members who contribute thoes magic tweaks and offer advise to people who are stuck.
I am totally new to the world of Windows Mobile, and without you all, I wouldnt have had the first clue nevermind flashing and tweaking shenanigans.
Thanks guys.
glad you liked it
I have a permanent problem with all 6.5 versions and it's really weird.All 6.5 roms work very well when memory card is not inserted...but when I turn my Topaz off and insert the memory card. Albums/Camera/Music Player/File explorer and all concerning memory card freeze when I use them.
That is, when I try to launch Album for pictures on memory card, it freezes...same with Camera.....
I changed memory card, formatted with FAT32...but all in vain
I have no such problem with 6.1 roms
Any comments?

[ROM] I love DFT (7392 ROOTED) [YukiXDA] [26/06]

Let's make HD2 the best Windows Phone 7 device ​
My tutorial on porting WP7 sys (and update to NoDo) for HD2 is in my 2nd post, you'll find too my tricks and ideas​
Thanks to Ruzzichella, DFT, bepe, cotulla, ervius, AnDim, Nokser, ansar, OndraSter, airxtreme, misar etc. etc.​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
16/05 First release:​Porting HD2 WP7 rom to NoDo (see 2nd post)
​New theme with transparency I've called Aero
​HTC Hidden Wi-Fi works since I've updated some OEM packages. To have a wifi mac adress which don't change at reboot try to set it in the nvram.txt file (see my second post)
​Rom is unlocked and prevented to relock.
​A video demonstration: Youtube_WP7_NoDo_ROM_HD2 (thanks Jaxbot)
​05/06 Update:​Green key is now hard remaped, I've chosen the function of bluetooth Headset: Play/Pause multimedia, Skip by pressing twice, Answer a call (when receiving), End call, (when in call), long press to rapidly call someone by speech input.
​Replaced camera button by a software button with autofocus like on Androïd so no more blur.
​Radio is working without the need of headphones.
​Added keyboards layout for some other countries and added some cool features. More layouts to come soon.
​Improve performances, localisation (assisted gps - agps), Bluetooth, battery consumption. (mine is between 3 and 6 mA)
​Solving of certains difficulties to establish a link with some Wi-Fi routers.
​Smooth gradients (no more 16bit banding bug) without lost of performances.
​Backlight adjusted and set to never by default (work have to be done)
​Changed volume settings and added a sound template to make it more clear.
​Replaced all Microsoft and OEM wallpapers by transparent png, so a total of 41.
​08/06 Update:​Replaced all overlaped modules of the 7392 base rom, so improve about everything​Speech recognition (long press Win key and Call contact Green key) works for every languages
​13/06 Update + 16/06 minor Update:Added direct access to Wi-Fi and Bluetooth in start menu and home tiles.
Added direct acces to Airplane mode and Brightness (16/06)
​Update of the HTC RIL manager module and added the last HTC Connection Setup for autodata config at boot.
​Added keyboard layouts but there is a limitation of 20 keyboards so I split the rom in 2.
​Added some other long press on keyboards layout ie w->www. f->ftp://ftp. (16/06)
​23/06 + 26/06 Update:Rom is rooted now (first WP7 rooted rom)
Optimisation of the policy database for root access (+live games fix) (26/06)
​Added direct acces to Cellular and Location
Added direct acces to Sound and Lock and changed all icons added to real metro theme (26/06)​Added 2 extra themes (Aero variations with transparency): Aero Black and Aero Rich​The Rom Files: v5_lang1 and v5_lang2 - These are the roms, no language pack!!! see below
Rom is split in two versions with differents keyboards layouts
In both: Spanish, French/Canada/Swiss, German, English US/UK, Italia
Lang1: Finish, Hungarian, Swedish, Czech, Danish, Dutch/Belgian, Norwegian, Polish, Poruguese/Brazilian, Filipino
Lang2: Turkish, Malay, Arabic(as Ecuador), Hebrew(as Uruguay), Farsi(as Bolivia), Chinese, Greek, Korean, Russian, Indonesian, Ukrainian, Thai(as El Salvador)​
A xap to give back the 3rd option speaker/headset in FM radio (but you'll need Headphones): ProvXml-FMradio.xap (thanks to xboxmod, for use see his thread)
A pack with all HD7 radios (files part00.bin to replace in Data.zip before flash): HD2 WP7 radios pack
If you want another hard keys remaping template see here​
If you like my work, don’t pay me a beer, don’t thank me but just send as much “MISS U” as you want to +33 682732382 (France)​
Tutorial to port sys (update to NoDo)​
Ok guys, I don’t know why DFT haven’t release an update for HD2 earlier since it take only few days to a noob to achieve a working NoDo rom. Their first version was built on a test rom with developer’s certificates from Microsoft and HTC, debug tools, recompiled drivers for HD2 and a method to build SLDR and NK sections. They had before everybody a test version of Mango too. So I suppose they, or only one, is working for HTC or has good contacts and perhaps had a commercial interest or was more interested by the exploit than giving users a great experience of WP7 on HD2, updates as soon as it’s possible and tools/knowledge to members like ervius, AnDim, Nokser etc. to achieve that by themselves. Someone in another post suggest an agreement not to release their mango before the 24th, it’s quite possible. But I don’t know and I don’t blame, it’s life lol
Perhaps we’ll see a version of Mango for HD2 soon (and new exiting videos^^’) but since a lot of people are waiting for NoDo (some desperate posts made me cry XD) I’ll give you a first version, and better, the method to achieve that by yourself for the next coming.
!The trip isn’t how to flash an HD7 rom on HD2 like certain people seems to believe and we don’t need a new malgr for the moment!
What you need:
DSM editor by Ervius http://forum.xda-developers.com/showthread.php?t=523139
WP7 Rom Tools by AnDim http://forum.xda-developers.com/showthread.php?t=884239
IMGFSFromDump-TURBO by airxtreme http://forum.xda-developers.com/showthread.php?t=610713
Imageinfo.bin, packages.cif/sof Tool by kokotas http://forum.xda-developers.com/showthread.php?t=674477
DFT rom and DWI by by bepe and Cotulla
A rom with 7392 SYS like RUU_Mozart_TMO_DE_1.32.111.01_5.65.09.25_22.45.50_ RELEASE http://forum.xda-developers.com/showthread.php?t=1065281 (MOZART is not important for SYS parts)
Some extra roms for updated other SYS languages
A rom with latests HTC packages to have the possibility of stuff like Hidden Wi-Fi like RUU_Schubert_O2_DE_3.04.207.01_Radio_5.66.09.21a_2 2.48.50.21 http://forum.xda-developers.com/showthread.php?t=1037967
Optional:
A rom for a new radio, this one seems to be the latest too
A rom for developpers tools and kitl like RUU_Schubert_hTC_Asia_SEA_WWE_1.57.728.02_Radio_5.52.09.16_22.33a.50.10_TEST
Roms for OEM APPS stuff that you want
A good HEX editor and a file/directories comparator may help a lot
Just a little time and patience lol
PS: open roms with an archive tool like 7-Zip and take the RUU_signed.nbh file, we only need this.
1. A new radio: (optional)
The radio is the part00.bin in the Data.zip
With HTCrie open the nbh which contains the radio you want, select GSM and extract the GSM.nb
Open it with an hex editor and search for 7F 45 4C 46 01 01 01 61, it’s the beginning of the part we need. The end is the series of 00 just after the last AMSS string you can find (refer to DFT part00.bin if you need help).
Keep only this section (delete the rest) and add some 00, for example if the files ends at the byte e004d0h go to e004ff.
Save the file, rename it part00.bin, you’ll have your new radio (in this case 5.66.09.21a).
Replace it in the Data.zip, you can flash now with DWI to test it.
You’ll show the new version in the Settings/About of WP7.
2. Change The SYS by 7392 Step 1: Common packages
With HTCrie open the nbh which contains the 7392 SYS build (or another you want), extend OS/IMGFS and select SYS. Extract it to a folder.
Do the same for other rom(s) containing extra languages in another folder.
Add the extra *_LANG_0XXX packages from the second directory to the first, after that you can delete it (the second folder lol, if only English was my native language^^).
You can use NabSync and NabSync_Lang_0XXX packages or not, if not delete them, just remember you’ll not need to add MOS entries in default.hv in this case.
Put the metadata package in another place, we’ll use it in step 2.
Put the content of all other packages in a new folder (for ex called IMGFS), with HTCRIE open the same 7392 rom, extend OS and in IMGFS content select .ROM and .VM modules, extract them in your IMGFS folder.
It’s your new SYS.
You could past/overwrite it in DFT IMGFS and build the rom now it will function (the DFT video of March) and YES it’s as simple as that, you’ll have new stuff from NoDo like copy/paste but not the possibility of Hidden Wi-Fi since it depend of OEM packages.
PS: It’s possible since there isn’t many changes in NK and SLDR sections made by NoDo, so we can use like that. dsm files are not very important (just to have good references of packages) and rgu content is added in default.hv
Modules that need to be updated are:
NK: cachefilt.dll, hd.dll and osaxst0.dll
SLDR: exfat.dll, filesys.dll, k.coredll.dll, k.fatutil.dll, kernel.dll, mtpuldrsvc.dll, pm.dll, sdbus.dll, sdmemory.dll and unifiedblock.dll
3. Change The SYS by 7392 Step 2: metadata package
With HTCrie extract the metadata package of the SHUBERT rom which contains OEM that you need, so we have to play with 3 metadata packages: DFT, SHUBERT OEM, MOZART SYS.
It could be a little simpler if we have a 7392 rom for SHUBERT but not for the moment.
Some files need to be updated, first is BasePolicy.xml, compare the new content of MOZART with DFT one, same for SCHUBERT (replace C:\WM700\release\LEO and C:\WM700_7392\release\MOZART by C:\WM700_7392\release\SCHUBERT). If you find new entries and you judge them useful (refer to dsm and find the package) then add them in MOZART one (it’s the most important for SYS).
Second is DefaultCerts.dat, these files contain certificates. In hex each one begin with 30 82 ?? ?? 30 82 so you can cut this file in x parts, one for each certificate.
The common build is Microsoft root, oem roots, Microsoft Windows Mobile PCA0, oem, Microsoft Mobile Device Unprivileged PCA0.
We’ll keep DFT one as bas as it’s include Qualcomm infrastructure development, Microsoft Corporation CE Image Update Test and HTC_Develop_Test, useful for later (we never know^^). DFT has included HTC_Develop_Test twice (like in dsm beside Microsoft Corporation CE Image Update Test) so you can remove the second.
What you need is to take DefaultCerts.dat from other metadata packages, extract OEM 168 or/and OEM 169 (personally I’ve included both from other roms so I’ll never have to touch this file again) and insert oem/oem root certificates in DFT one.
packages.cif and packages.sof are certainly updated but you can edit them with Imageinfo.bin, packages.cif/sof Tool.
Compare the imginf.txt you obtain for each roms you use (you can sort this file to make it more simple).
Like with BasePolicy.xml, if there is an entry that you judge useful, just add it in packages.cif and .sof (refer to this tool’s post in forum to know how use it well, but it’s quite simple).
The last two files but more important are default.hv and user.hv
To edit them just drag them onto HVEdit.exe by AnDim, you’ll obtain default.hvm and user.hvm which can be edited like rgu files.
To rebuild hv just drag hvm onto HVEdit.exe
I suggest keep the 7392 ones as base, compare them with DFT originals and modify entries you want.
For some you need a little knowledge (refer to forum) but for most it’s language entries and some tweaks.
You can refer to rgu files which differ and take a look at NoDo and 7392 pku to know which files/rgu are concerned (see forum to know how obtain pku for each zune update and extract them but don’t use files as they are in your build since most of them are not suitable (except dsm), they only contain information to update files/modules)
You can add for exemple your LiveID useful for HD2 users:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\GwpCPC]
"ActivationCode"="77777-77777-77777-77777-77777"
Copy the content of the new metadata package in your IMGFS folder. Now you have a fully functional SYS that you can use instead DFT one Let see OEM packages.
4. Change OEM packages Step 1: common packages
With HTCrie extract in two folders (like for SYS before) the OEM packages, one for DFT (for most you’ll find them at the wrong place: in SYS - like for most of TEST roms you can find) the other for the rom with most updated HTC packages.
You don’t need HTC_8x50_OS_UI_LEO as we replace it by HTC_8x50_OS_UI_SCHUBERT
You don’t need StartKitl and kitl.dll from DFT as it’s debug tool (we’ll see later) and HTC_CSPOSDrivers is new stuff so don’t search it in DFT rom.
Other packages which can be used without modification beside HTC_CSPOSDrivers are CSConn_DB, HTC_Global_Customization, OEM_8x50_BLDR, OEM_8x50_BSP, OEM_8x50_LOGO, OEM_8x50_MODEM, QC_8x50_OS_MM_CFG_2 so just delete them like for HTC_8x50_OS_UI_LEO in DFT folder to see more clearly.
5. Change OEM packages Step 2: updated packages
Like I’ve said we could use DFT OEM packages as they are but we won’t have new stuff from HTC like Hidden Wi-Fi. So we have to update some modules.
We could update the most of them (certain drivers are HD2 specific) but since we can’t update NK/SLDR sections for now you’ll got some troubles (I’ll speak of that later).
So for each package we change all files,rgu and dsm but we have to keep some modules from DFT.
For HTC_AppDrivers and HTC_OSDrivers don’t keep anything (so delete them from DFT folder) but remove HTCConnectionSetUp.dll since it is in SLDR and have some dependencies so you’ve got some troubles to connect secure wifi networks.
For HTC_8x50_OS_UI_COMMON, OEM_8x50_OS, QC_8x50_OS_GPS, QC_8x50_OS_MMRIL overwrite all modules with DFT ones
For HTC_8x50_OS_WIRELESS overwrite all modules. wl_server_serial.dll and wlan_oem.dll were files, we need updated ones in modules from new oem package for HTC Hidden Wi-Fi, the other thing to do is to verify in default.hv that BtOem, RSS and WLANOEM entries are in HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ sections like in new roms and not in HKEY_LOCAL_MACHINE\Services\ like DFT’s one (and never both) otherwise it won’t work.
For OEM_8x50_OS_CAMERA replace modules and add camerasettingsmanifest.0XXX.xml from DFT in new one (since these files are normally in SLDR in new roms we have to add them). Use DSM editor to edit c6158f86-ef71-4a8b-8c04-0cf57c158b2f.dsm and add entries for these files (refer to this tool’s post to know how use it but it’s easy too).
For OEM_8x50_OS_SURF replace all modules. But you don’t have to add Backlightmdd_htc_6541.dll, just be sure you have backlightmdd.dll instead in default.hv like in new roms.
For QC_8x50_OS replace modules. You have to delete windiag.dll or verify in default.hv that “dll”=”windiag.dll” is replaced by “dll”=”” like in new roms.
6. Change OEM packages Step 3: extra packages (optional)
HTC_OEMAPPS contain OEM software.
You can add from different roms and operators. Just add the *.xap and * _License.xml you want, edit mpap_HTC_MASD_01.provxml to add/have only entries for these files and use DSM editor to edit 47c557c0-08b2-493c-a380-08c72d78e3ba.dsm and update the list of files in this package.
operatorpkg contain the HTC or Operator personalization files. Like for OEMAPPS, keep/add what you want from different roms, Email accounts/providers, Browser favorites are useful, MNS_Cust_xxx too, I’ve personally built a new theme with transparency called Aero, added the entries in the default.hv and add the 02XX*.xaml in this package.
A picture with transparency in png format for the lockscreen too.
After use DSM editor to edit 438abf0c-b691-4259-a742-1f224fa3b5ba.dsm like before.
You can add developer stuff/kitl and HTC tools packages too: AutoDeviceConfig, CommsDogfood, CoreOSDogfood, dogfoodDM, EtwChannelDefaultInternal, KitlShell, LoaderVerifierTestCerts, NetDrvVMINI, QC_8x50_OS_TEST, SensorView, SirepForPlatDev, StartKitl, TouchTools. GPSxxx from HTC_8x50_OS_WIRELESS.
Extract them from a test rom and add the content and entries in default.hv you find in rgu files.
HTC_TEST tools are xap files: DebugFlagEdit, GCFSettings, HTC BATTERY TOOL, HTCGPSTool, RegisterEdit, StopWatch, StressTool, USBModeSwitch. Refer you at the HTC_OEMAPPS explanations.
You have finished the job with OEM part, just extract the content of each of these packages in your IMGFS folder.
7. Wi-Fi problems: (optional)
Some people had some troubles with the old roms and wifi. In forum most were speaking about the SD-card but it didn’t solved the problem (and gone back to android^^).
It’s not the only problem. If you examine the file nvram.txt which is used to enable the built-in wifi chip there are some differences between files from DFT, HD2 3.14, SCHUBERT operators.
EDIT: macaddr=00:11:22:33:44:55 in its file seems the place to put a mac adress for routers with some mac filters.
I list it below, so i use a mix from HD2. When I was using the original, I didn't reached secured networks, I had to remove battery for hours.
Code:
DFT: SCH:TMOUS/WWE/TIM/O2UK HD2 3.14: SCH:Orange + MOZ:O2UK
boardrev=0x32 boardrev=0x36 boardrev=0x32 boardrev=0x36
pa0b0=5747 pa0b0=6003,6003,5576 pa0b0=6003 pa0b0=5552
pa0b1=64128 pa0b1=64086,64086,64172 pa0b1=64086 pa0b1=64245
pa0b2=65195 pa0b2=65195,65195,65155 pa0b2=65195 pa0b2=65200
pa0maxpwr=72 pa0maxpwr=82 pa0maxpwr=72 pa0maxpwr=78
opo=20 opo=16
ofdmpo=0xAAAAAAAA ofdmpo=0xAAAAAAAA
mcs2gpo0=0x6666 mcs2gpo0=0xAAAA mcs2gpo0=0x6666 mcs2gpo0=0xCCCC
mcs2gpo1=0x6666 mcs2gpo1=0xAAAA mcs2gpo1=0x6666 mcs2gpo1=0xCCCC
rssismf2g=0xa rssismf2g=0xa,0xa,0xa rssismf2g=0xa rssismf2g=0xa,0xa,0xa
rssismc2g=0xb rssismc2g=0xb,0xb,0xa rssismc2g=0xb rssismc2g=0xb,0xb,0xa
rssisav2g=0x3 rssisav2g=0x3,0x3,0x3 rssisav2g=0x3 rssisav2g=0x3,0x3,0x3
rcal_flag=0x61 rcal_flag=0x61
rxpo2g=2 rxpo2g=1 rxpo2g=2 rxpo2g=0
rxpo2gchnflg=0x1c00
btc_params6=20 btc_params6=20
I suggest to modify this entries in default.hv too
Code:
HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms
"11nModeDisable"=dword:0 ; Wifi n
"PowerSaveMode"=dword:0 ; 0: Best Performance 1: Best Batterry 2: Between
"IBSSMode"="0" ; set the connection type in an ad hoc network (b/g)
"LegacyPowerCycle"=dword:0 ; new rom entry
"FrameBursting"="1" ; communication protocol (higher data transfer throughput)
8. Build your rom:
All this process can be found in the forum for more explanations:
Rename the your IMGFS folder to dump (yes you could have done it at the beginning^^) with HTCrie open the part04.bin from DFT you find in Data.zip, select IMGFS and extract IMGFS.bin
With ImgfsFromDump recompile the new IMGFS, the command line is: ImgfsFromDump imgfs.bin imgfs-out.bin
With HTCrie replace the IMGFS in part4.bin: select IMGFS, click on add files, choose imgfs-out.bin, it take only few seconds.
Replace part04.bin in Data.zip by the new one and flash it with DWI, you’ve got it!
If you like my work, don’t pay me a beer, don’t thank me but just send as much “MISS U” as you want to +33 682732382 (France)​
26/06 working great for me!
No issues other than the usual bugs!
To increase the speed, download Advanced Config Tool here: http://forum.touchxperience.com/viewtopic.php?f=11&t=890 and then in the "tweaks' section, check 'Don't dehydrate apps on pause' and UNckeck 'Enable Wi-Fi 802.11n Mode' or wifi won't work. (may or may not work, try not to fiddle with the settings too much )
Mango next !!
** also reserved for future comments *** =D
oh man. what have u done!! ;-)
waiting for the link.
GOD!!!
U are the ONE!!!!
Waiting for your link...
waiting on link too.
btw what do you mean send "Miss U" to the number?
Hope this brings out others to provide custom WP7 roms.
Hi YukiXDA,
I don't think you are a "noob" by any stretch of imagination.
I must admit most of it is too intimidating for me to even think of attempting. so I will, like I'm sure a lot of other users, will be waiting patiently for you to upload the ROM.
If I understand the last part right - All I would need to do to update my phone to NoDo is flash your updated ROM using DWI, isn't it?
Not noob but I begun from scratch lol
Imagination and thinking it's possible without DFT tools and new malgr. I regret the fact that there isn't a groupware at xda to achieve such of things (and a way to update SLDR/NK) since some guys have a lot of knowledge here. I hadn't but I didn't understand and not like that we are all waiting DFT tools and release as they have it from several months. So I tried ^^
Yes I've put my Data.zip beside DWI, same way as before for now
Remeber it's a first test version, we need reports...
It's uploaded
@thebranded:
I hope It 'll encourage other people to develop more WP7 stuff on HD2 too.
The problem of updating XIP is for any phones not just ours. But new drivers for future updates yes.
"btw what do you mean send "Miss U" to the number? " -> Just send a sms with "MISS U" as text (for my private life^^)
you are a fake foreigner,bie lai zhe tao le,tao bu chu shen me dongxi chu lai de。
hi XD(XD应该是国语?)
shen ma de fu yun a
神马都是浮云,鉴定完毕!
B!ueice said:
假洋鬼子,就别来这套了,到处乱喷,没人会理你的。
Click to expand...
Click to collapse
支持B!ueice,有本事的也建個論壇搞個直刷讓全世界人看看,別只是說這不好那不好的,這顯得你很沒本事。
這到底是神馬??跟神馬???
downloading now.
hey YukiXDA. what about u'r device? everything working good?
i'll test and report back.
Is this the real deal? Gotta get home & try this out. Anybody tried it yet?
Sent from my HD2 using XDA Windows Phone 7 App
JonnieLasVegas said:
Is this the real deal? Gotta get home & try this out. Anybody tried it yet?
Sent from my HD2 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Just installed now - only just got started and i don't have a code for sign in, so cant test live etc but so far looking good.
Says version is 7.0.7392.0.
Copy and paste is available and working..
wifi working...
....
It DOES appear to be unlocked - tried installing apps with toms XAP installer..
Says it fails after a while-but checked phone and app is on phone and working
this ROM
Hi,
I got an questions ?
1. How fast is this ROM ?
2. Is this ROM unlocked + prevented to lock again ?
3. Did you fix the green/yellow color after shot with flash ?
Thanks a for info and good work !

[WP7 KITCHEN] OS Builder V1.4.236 FULL (01.12.2012)

Hi all!
I want to present the tool which can port/rebuild XIP (NK) and build IMGFS partition file for Windows Phone 7 with real registry recompiling and relocations according to WP7 memory model.
It can also build NB (D000FF and WMSTORE containers) and NBH files for HTC WP7 devices (tested on HTC HD2, HTC HD7, HTC Mozart, HTC Radar, HTC Titan).
This thread is the continuation of OSBuilder for WM topic. The future discussion about WP7 ROM assembling by means of OsBuilder will take place over here
Thanks again to the team (AndrewSh, Feropont, Vladimir1973, lucifer3006) - for the support, for the tests, for your work!
Special thanks to HD2Owner for enthusiasm and his titanic work in testing WP7mode.
Thanks a lot to AnDim for his tenderness and important information provided.
Sincerely,
Barin and Ultrashot
Tutorial videos:
How to dump NBH
How to work with registry
How to work with packages.sof/packages.cif
to be continued...
[POLL] What new features do you want to have in OsBuilder future releases
Changelog links:
Changelog - OS Builder V1.4.236 FULL (01.12.2012)
Changelog - OS Builder V1.4.235 FULL (25.11.2012)
Changelog - OS Builder V1.4.234 FULL (22.11.2012)
Changelog - OS Builder V1.4.223 FULL (02.10.2012)
Changelog - OS Builder V1.4.209 FULL (19.05.2012)
Changelog - OS Builder V1.4.206 FULL (21.04.2012)
Changelog - OS Builder V1.4.205 FULL (16.04.2012)
Changelog - OS Builder V1.3.199 FULL (09.12.2011)
Changelog - OS Builder V1.3.189 FULL (08.11.2011)
Changelog - OS Builder V1.3.187 FULL (03.11.2011)
Reserved...
To -=Barin=- and Ultrashot
Dear friends!
Thank you for all the help you have given me with my WP7 experience.
I especially appreciate the information and advices you have provided, and the excellent OsBuilder you have shared with me. Your assistance has been invaluable to me!
Again, thank you so much. I greatly appreciate your generosity, willingness to help and friendship.
Regards
Andrew.
Changelog - OS Builder V1.3.187 FULL (03.11.2011)
1. Fixed issue with deleting a parameter defined in boot.rgu, if the removing directive was stored in other packages - the post http://forum.xda-developers.com/showpost.php?p=18251257&postcount=564
The second step to full WP7 support
2. Relocation engine is totally redesigned. (Hats off to Ultrashot for valuable help with WP7 modules Z .reloc sections)
3. Added possibility of porting/rebuilding XIP (NK) and the assembling IMGFS partition file for Windows Phone 7 with real registry recompiling and relocations according to WP7memory model (tested on HTC HD2, HTC HD7 and HTC Mozart. Credit for tests goes to Feropont and HD2Owner)
I want to warn that the registry files have to be checked by registry preview, because there is a hell of syntax errors in the original registry. Frankly, it seems (IMHO) that first the registry was generated and then some comments for dumb and mistakes were added.
Registry Preview will define incorrect lines to help you to fix that. The most common errors are:
- Parameter name without the quotes
- The comments are not marked with a semicolon or marked with colon.
- HEX type values end with point (the last or the only parameter line)
- The value MULTI_SZ contains comments between the lines parameter
- Existence of Directives for conditional compilation IF ... END (it's not a mistake, but currently these directives are not processed, so you should label them as a comment)
4. The dsm-editor has now the feature to set/clear Z-flags for modules.
Warning! This flag is used for WP7 XIP modules only if the RW section of a module must be located within the boundaries of RAMStart-RAMFree (nk.exe, kernel.dll, kitl_noplat.dll and similar)
5. For WP7 - Added ability to edit the file MsDefaultcerts.dat (see Additional Tools)
6. For WP7- Added ability to edit files CoreOS.dat and initobj.dat (see Additional Tools)
7. Added ability to automatically insert a certificate which will sign files while assembling DefaultCerts.dat and MsDefaultCerts.dat (for WP7) - see the settings in Build Dump and ROM. The original files stay untouched.
8. XIP Port settings - added the list of additional MS packages (for WP7). When porting WP7 XIP, the packages specified in this list will be replaced with donor packages.
At the moment, we can safely add the following packages to this list:
BaseDrivers_NK
CCFGSVC
GFX_NK
KFPCRT
Watson_Core
WinCENLS
9. In Configuration and packages tab of Setting - added the option "Always include 0409packages." If your WP7kitchen allows the language selection, it is recommended to use this option enabled to include English-language packages by default to your ROM, otherwise there is risk to get non-bootable ROM.
10. Added - the ability to build NB files (! For the moment only D000FF container !, NB assembling for the new _wmstore structure devices is not supported yet) and NBH files for WP7
To build NB you should have the original NB and should define the way to it in Build ROM settings, for example ".\NB\OS.nb". Unfortunately, to get rid of the original NB is not yet possible, but the work is in process. Hats off to AnDim for help and information provided. NBH build configuration settings are similar to the previous version, except that the CID tab can contain multiple values (each value in a separate line)
Warning! If you plan to use for cooking WP7 dump obtained by earlier versions of OSBuilder, I would strongly recommend you to dump again, and to copy the new ROM template \ ROM.tpl to your kitchen. The new template will contain additional service information, which was not recorded in earlier versions of OSBuilder
11. OSBuilder is fully backward compatible with WM6.x kitchens, (it was a big deal btw, but it was implemented). When you open the kitchen OSBuilder automatically detects the required mode WM6/WP7.
This compatibility will remain for the future, but no new features for WM kitchens will be added. OSBuilder WM Kitchens Development is terminated due to the termination of WM6.5.x development from MS side.
Thanks again to the team (AndrewSh, Feropont, Vladimir1973) - for the support, for the tests, for your work!
Special thanks to HD2Owner for enthusiasm and his titanic work in testing WP7mode.
Thanks a lot to AnDim for his tenderness and important information provided.
Sincerely,
Barin and Ultrashot
Thanks
Thank you my friends Barin and Ultrashot, with you was nice work in a friendly and well-coordinated team. Thank you for large lessons learned and tools OSBuilder.
Regards
feropont.
hd2 7720 files in the SYS and OEM Give
please
thanks
Good Job !!! keep going
yes indeed. great work barin. thanks alot.
pdaimatejam said:
hd2 7720 files in the SYS and OEM Give
please
thanks
Click to expand...
Click to collapse
just dump any mango rom to get that stuff.. what's the problem?
boot 7720 remains hd2
pdaimatejam said:
boot 7720 remains hd2
Click to expand...
Click to collapse
We do not distribute SYS here. We provide only the OsBuilder. For SYS and other device specific packages - ask in the rom topics from the rom developers.
Thanks for new version, I've dump HTC Titan rom and now trying to rebuilt.
ct_moi said:
Thanks for new version, I've dump HTC Titan rom and now trying to rebuilt.
Click to expand...
Click to collapse
Titan is the second generation device with another rom structure (_wmstore)
Only nk and imgfs partition files can be built for it, but not NB. Current version of OSBuilder supports D000FF NB container only, but not _wmstore/_wmpart
Dude you is a wonder. Thank you very much...
-=Barin=- said:
Titan is the second generation device with another rom structure (_wmstore)
Only nk and imgfs partition files can be built for it, but not NB. Current version of OSBuilder supports D000FF NB container only, but not _wmstore/_wmpart
Click to expand...
Click to collapse
Thanks Barin, that's reason why I've an error . But nice, can begin to see registry, packages etc...
Thanks a billion Barin, as well as to his team mates.
Excellent work indeed! This is what I was waiting for, before I put my hands into WP7 on HD2.
Let me dig in and see whats under wp7 hood.
Thanks again...
Best Regards
Edit:
I just tried to dump and rebuild an WP7 ROM made for HD2.
* Dumped successfully
* Fixed the registry errors
* When building, I get "The given key was not present in the dictionary." No idea what it means but I haven't changed any files/folders.
* Disable Demand Paging is empty but no idea either were does those list of modules comes while building.
Any idea whats wrong am I doing?
Great work, thanks a bunch.
CRACING said:
...Disable Demand Paging is empty but no idea either were does those list of modules comes while building...
Click to expand...
Click to collapse
Don't worry 'bout the list - it appears only because OsBuilder detects correspondent flags assigned to these modules. About the mistake - not sure -better later Barin will explain it more correctly than me....
AndrewSh said:
Don't worry 'bout the list - it appears only because OsBuilder detects correspondent flags assigned to these modules. About the mistake - not sure -better later Barin will explain it more correctly than me....
Click to expand...
Click to collapse
Ah you are right, I had forgot about DSM contains flags.
Will wait for barin reply and till then will try different ROM to see if I get same error.
Thanks...
Best Regards
CRACING said:
* Dumped successfully
* Fixed the registry errors
* When building, I get "The given key was not present in the dictionary." No idea what it means but I haven't changed any files/folders.
* Disable Demand Paging is empty but no idea either were does those list of modules comes while building.
Any idea whats wrong am I doing?
Click to expand...
Click to collapse
AndrewSh is absolutely rightt about modules with flag M in dsm
About error - no idea too. Just try to close OSbuilder and then open the kitchen again.

Categories

Resources