Hi Dev's!
after finding out how to create my own rom I will explain the progress for everyone.
[1st step - rebuild nbh with parts from different original roms]
At first of all make sure you have RSPL/HSPL installed before you try to create/flash your rom
Download a original rom for your device to start-up
Extract the contens of the *.exe and copy the RUU_signed.nbh to a directory you like (working direktory were you can collect all tools, data during our costumation process)
use nbhTool to extract the *.nb parts from the RUU_singed.nbh
e.g.
A textfile file for nbhTool is generated modify it forthe contens you like to rebuild afterwards (e.g radio or os) ==> see attachment for a demo txt file)
rebuild a RUU_unsigned.nbh with nbhTool
e.g.
and flash it with an RUU (maybe use a costum RUU for task 29 or 00)
finish
[2nd step modify registry ==> DeveloperUnlock]
Tested official Schubert rom's Nodo & Mango (Europe & Asia)
open htcrie_0.7.0.35 and open os.nb (Version includet in WP7 Costum Rom Manual Kitchen)
do not use other versions of htcRIE (e.g. htcRIE_0.7.0.46) cause there is a huge difference when inserting IMGFS into os.nb
click on IMGFS on the left side and click Image => Save Files...
IMGFS.bin should be saved at the location of your choice
use XiDump to extract the contens of IMGFS.bin
The contens should be extracted in the folder IMGFS
go into this folder and copy default.hv to a save place for modifications (thats a hidden file!!)
Drag&Drop default.hv over HVEdit.exe
now a new file is created called default.hvm
delete the default.vh to prevent convusion
edit default.hvm with a text editor
create Key wich doesn't exists at the moment
you can also check/add the key for maximum unsigned apps
save the file and drag&drop defaul.hvm over HVEdit.exe
a new default.hv is created wich contains you modifications
copy default.hv into the IMGFS folder wich was created before
now rebuild imgfs with ImgFromDump
copy IMGFS-rebuild.bin to a save folder & rename it to IMGFS.bin
go to htcRIE-0.7.0.35) and implant IMGFS with following shell comando
next open os.nb with a hex editor and search for following HEX-String
rewrite the next 4 HEX-Numbers with
save the file
finished
For information the hex code wich is generated from htcRIE compared with the original os.nb hex code.
If you search for differences in this two bin files this was the first one of 14 differences.
Don't know why the others are different but work
for NoDo
for Mango
[3rd step get ready for cab updates/customation]
Use DefaultCerts.dat & MSDefaultCerts.dat (from XBmod-Yuki's HD2 Rom) in your IMGFS to be ready for costum cab updates
[4th step adding OEM apps]
simply copy & overright the files from IMGFS Partition with the *.xap's, *.xml's,...
thanks to itje for mentioned that
thx to itje for the instruction how to dump IMGFS-Contens from OMEGA/ETERNITY roms
[5th step adding additional languages]
thx to itje for extracting/preparing language packs from ETERNITY rom
Just copy & replace in IMGFS
Languages-Files
[6th step change wallpaper]
thx to -WP7User- to explain the necesarry steps for changing the wallpaper
Copy the pictures you like to have in your rom into IMGFS
add or modify values in default.hv
don't forget the comma if there is more than one wallpaper!!
for changing the defauft lookscreen wallpaper look into user.hv and change
XSPL
XSPL posted by Cotulla
Tools
nbhTool posted by ted973
Htcrie posted by Heathcliff74
NbhImageTool posted by DaG
XiDump posted by bepe
ImgfsfromDump posted by airextreme (v2.4.0 won't work for me)
HvEdit posted by ceesheim
Kitchen
WP7 Costum Rom Manual Kitchen posted by xda2_haseeb (instruction for IMGFS editing)
WP7build posted by tslany (only for information)
Registry Keys
Cab Updater
Omega OEM apps
FYI
The attached text file contains all nb entries to rebuild the whole rom expect the spl
You only need the line for radio.nb or os.nb, the rest could be deleted if you do not need them
flash devices only if you know what you are doing, i take no responsible for any damage
thx to itje for creating a nbhMerge textfile for HTC Trophy
after finding out how to create my own rom I will explain the progress for everyone.
[1st step - rebuild nbh with parts from different original roms]
At first of all make sure you have RSPL/HSPL installed before you try to create/flash your rom
Download a original rom for your device to start-up
Extract the contens of the *.exe and copy the RUU_signed.nbh to a directory you like (working direktory were you can collect all tools, data during our costumation process)
use nbhTool to extract the *.nb parts from the RUU_singed.nbh
e.g.
Code:
nbhtool.exe -split RUU_signed.nbh Schubert.txt
A textfile file for nbhTool is generated modify it forthe contens you like to rebuild afterwards (e.g radio or os) ==> see attachment for a demo txt file)
rebuild a RUU_unsigned.nbh with nbhTool
e.g.
Code:
nbhtool.exe Schubert.txt
finish
[2nd step modify registry ==> DeveloperUnlock]
Tested official Schubert rom's Nodo & Mango (Europe & Asia)
open htcrie_0.7.0.35 and open os.nb (Version includet in WP7 Costum Rom Manual Kitchen)
do not use other versions of htcRIE (e.g. htcRIE_0.7.0.46) cause there is a huge difference when inserting IMGFS into os.nb
click on IMGFS on the left side and click Image => Save Files...
IMGFS.bin should be saved at the location of your choice
use XiDump to extract the contens of IMGFS.bin
Code:
xidump.exe imgfs.bin
go into this folder and copy default.hv to a save place for modifications (thats a hidden file!!)
Drag&Drop default.hv over HVEdit.exe
now a new file is created called default.hvm
delete the default.vh to prevent convusion
edit default.hvm with a text editor
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
create Key wich doesn't exists at the moment
Code:
[HKEY_LOCAL_MACHINE\Comm\Security\LVMod]
"DeveloperUnlockState"=dword:1
you can also check/add the key for maximum unsigned apps
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
a new default.hv is created wich contains you modifications
copy default.hv into the IMGFS folder wich was created before
rename IMGFS folder to "dump"In addition to that you can copy the CustClear.provxml into the root of the IMGFS folder
make sure it is hidden & write protected
the CustClear will be directly in the Windows folder after flashing
so no need to copy CustClear from Ringtones to Windows to unlock the phone after an update via Zune
now rebuild imgfs with ImgFromDump
Code:
ImgfsFromDump.exe IMGFS.bin IMGFS-rebuild.bin
go to htcRIE-0.7.0.35) and implant IMGFS with following shell comando
Code:
htcrie.exe replace /I imgfs.bin os.nb
Code:
C7 14 02 80 01 04 00
Code:
5D D6
finished
For information the hex code wich is generated from htcRIE compared with the original os.nb hex code.
If you search for differences in this two bin files this was the first one of 14 differences.
Don't know why the others are different but work
for NoDo
Code:
| htcRIE_0.7.0.35 | Original
012C72E8 | C7 14 02 80 01 04 00 8B | 012C72E8 | C7 14 02 80 01 04 00 5D |
012C72F0 | FE FF FF C0 20 00 00 FF | 012C72F0 | D6 FF FF C0 20 00 00 FF |
for Mango
Code:
| htcRIE_0.7.0.35 | Original
01106830 | C7 14 02 80 01 04 00 8B | 01106830 | C7 14 02 80 01 04 00 5D |
01106838 | FE FF FF C0 20 00 00 FF | 01106838 | D6 FF FF C0 20 00 00 FF |
[3rd step get ready for cab updates/customation]
Use DefaultCerts.dat & MSDefaultCerts.dat (from XBmod-Yuki's HD2 Rom) in your IMGFS to be ready for costum cab updates
[4th step adding OEM apps]
simply copy & overright the files from IMGFS Partition with the *.xap's, *.xml's,...
thanks to itje for mentioned that
thx to itje for the instruction how to dump IMGFS-Contens from OMEGA/ETERNITY roms
dump ruu:
Code:nbhTool -split ruu_signed.nbh Schubert.txt
dump os.nb:
Code:xidump -b os.nb
[5th step adding additional languages]
thx to itje for extracting/preparing language packs from ETERNITY rom
Just copy & replace in IMGFS
Languages-Files
[6th step change wallpaper]
thx to -WP7User- to explain the necesarry steps for changing the wallpaper
Copy the pictures you like to have in your rom into IMGFS
add or modify values in default.hv
don't forget the comma if there is more than one wallpaper!!
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\WallpaperSets]
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Photos\LockScreen]
XSPL
XSPL posted by Cotulla
Tools
nbhTool posted by ted973
Htcrie posted by Heathcliff74
NbhImageTool posted by DaG
XiDump posted by bepe
ImgfsfromDump posted by airextreme (v2.4.0 won't work for me)
HvEdit posted by ceesheim
Kitchen
WP7 Costum Rom Manual Kitchen posted by xda2_haseeb (instruction for IMGFS editing)
WP7build posted by tslany (only for information)
Registry Keys
Cab Updater
Omega OEM apps
FYI
The attached text file contains all nb entries to rebuild the whole rom expect the spl
You only need the line for radio.nb or os.nb, the rest could be deleted if you do not need them
flash devices only if you know what you are doing, i take no responsible for any damage
thx to itje for creating a nbhMerge textfile for HTC Trophy
Attachments
Last edited: