Home cooked Roms How to - 8125, K-JAM, P4300, MDA Vario Software Upgrading

:idea: Is there any chance of somebody giving a step by step tutorial of how to create your own custom rom installer
Like how to build say o2uk extended rom with TMOusa windows 2.24 rom and say TMOuk radio rom? (example) :idea:
Please if so could you post any/all software neaded to create this rom installer?
Many thanks
:?

Summiter? Could you help us on this? I would like to customise the extended ROM of my nbf file before flashing.
Thanks

garymeg said:
:idea: Is there any chance of somebody giving a step by step tutorial of how to create your own custom rom installer
Like how to build say o2uk extended rom with TMOusa windows 2.24 rom and say TMOuk radio rom? (example) :idea:
Please if so could you post any/all software neaded to create this rom installer?
Many thanks
:?
Click to expand...
Click to collapse
Everything you need to know is held within the various forums here. This isn't meant to be a non-answer, it's just that the resources are here (it's how I learned), and you have to be willing to expend the effort involved in finding and understanding.
I get several PMs a day from folks asking for a tutorial or lessons and whatnot. My response is always the same - read the forums. My intention is not to deflect the requests or hoard useful information. If you don't take the time to fully understand how all the pieces work, you risk seriously wrecking your device, and others if you share your custom ROMs.
That said, here's a simplified overview of the process:
-Extract the various ROM components from the nk.nbf using the typhoon tool version 5
-Modify the extended ROM component, which is a FAT filesystem image, using Winimage or similar
-If desired, extract the OS portion of ROM using mamaich's imgfs tools, and modify. When finished, use the same tools to update the OS portion of the ROM
-Pack everything back up with nb2nbf
Inside an nk.nbf is 7 components:
Extended ROM
OS
IPL (part of bootloader)
SPL (part of bootloader)
Splash screen
HTC Logo (normally uses the same image as the splash)
GSM radio code

re: splash screen, is it possible to change after flashing? Summiter, I love your ROMs but the only thing that bothers me is the Cingular splash screen. Everything else is perfect...

Summiter, could you please post the nb2nbf tool? I have googled and searhed xda to no avail.

the nk2nbf tool is on the ftp, at least that's where i got it.
also, in order to get the actual rom form the RUU (rom update utility), just change the extension to .zip and let winrar open it. from there you can grab the actual rom to pick apart

norelidd said:
the nk2nbf tool is on the ftp, at least that's where i got it.
Click to expand...
Click to collapse
Where? I have been looking and can't seem to find it. That is the only tool I am missing.

What is the format of HTC Logo and Splash Screen? I mean is it jpg file or what?

kyphur said:
norelidd said:
the nk2nbf tool is on the ftp, at least that's where i got it.
Click to expand...
Click to collapse
Where? I have been looking and can't seem to find it. That is the only tool I am missing.
Click to expand...
Click to collapse
Look in the Tornado directory.

Hey Summiter. Using those typhoon tools I get errors when trying to reencode the nbf. It seems the headers or something are different? What am I doing wrong?
If you would be so kind to tell us what to search for in the forums that would be greatly appreciated.
Thanks

Any Chance of posting links to the programs neaded i can't seem to find any of them

they are all in the Wiki under Typhoon section
what we need is a link to the thread that tells you how to use them. I can't find it

files needed
ftp://wiki.xda-developers.com/Wizard/DumpROM/
the tools needed are right here in the zip file create_nknbf.zip and it even has fairly simple instructions on how to use it and also when running the typho tool you must do it in a command prompt window although if i need to tell you this then you probably shouldn't be changing your rom and messing with the components inside of it anyway

hey summiter quick question i know how to mod everything i can see for the most part but how do you change a registry value previous to installation do you simply create a cab file and add it to the extended rom changing the value and if so what do you use to create the cab file
thanx,
Craig

yea, just create the CAB and add to extended ROM. I have a question also. When re-encoding your nbf, there are modules for gsm, os, spl, ipl. Where are commands for extended ROM, htc logo, and splash?
I also get the following error when re-encoding:
read 00000800 for ipl from ipl.nb
no 1.00 at 0xc in IPL image
read 000c0000 for spl from spl.nb
spl image: 00180000 bytes
no BOOTLOAD at 0x2004 in SPL image
I am worried that if I use these SPL.nb and IPL.nb with nb2nbf that I will destroy the bootloader
Any Help?

cybiker123 said:
hey summiter quick question i know how to mod everything i can see for the most part but how do you change a registry value previous to installation do you simply create a cab file and add it to the extended rom changing the value and if so what do you use to create the cab file
thanx,
Craig
Click to expand...
Click to collapse
Using a cab file to modify the reg is the easiest method. You can get into modifying the .hv files in the OS ROM but that gets pretty invovled.

i tried to search quite a bit but cannot seem to locate anything on how to create the cab file for moding registry values or creating a cab fale at all for that matter can someone try and point me in the right direction

Summiter,
ok i found wincecabmanager and created a cab to edit registry values i was wondering if you could check it out and tell me if you think this all looks ok
thanx,
Craig
it contains
Disable Menu Animations
HKLM\SYSTEM\GWE\Menu\AniType = 0 (DWORD decimal)
Increase Font Cache
HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 (DWORD decimal)
Enable File System Cache
HKLM\System\StorageManager\FATFS\EnableCache = 1 (DWORD decimal)
Increase File System Cache
HKLM\System\StorageManager\FATFS\CacheSize = 4096 (DWORD decimal)
Increase FileSystem filter cache
HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize = 4096 (DWORD decimal)
add a Disconnect button and a timer display showing how long GRPS is in use for the session
HKLM\ControlPanel\Phone\Flags2 = 16 (DWORD decimal)
Show Edge network indicator instead of GPRS
HKLM\Drivers\BuiltIn\RIL\EnableDifferGprsEdgeIcon = 1 (DWORD decimal)
SMS notification Enabled instead of disabled
HKLM\Software\Microsoft\Inbox\Settings\SMSNoSentMsg = 0 (DWORD decimal)
Make WM5 ask where to install a program
HKLM\Software\apps\Microsoft Application Installer\fAskDest = 1 (DWORD decimal)
Make WM5 keep CAB files around after installing
HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)
Enable Real Time Memory Defragmenting
HKCU\Software\Microsoft\Shell\NeverDorkMemory
Changing sound categories to raise volumes
HKCU/CONTROL PANEL/SOUND CATEGORIES/ATTENUATION
0=0
1=5
2=5
3=5
/INCALL
INITVOL=5
/RING
INITVOL=5
SPEAKER=5
/VOICECOMMAMD1
INITVOL=5
Thank You,
Craig

cybiker123 said:
Summiter,
ok i found wincecabmanager and created a cab to edit registry values i was wondering if you could check it out and tell me if you think this all looks ok
thanx,
Craig
it contains
Disable Menu Animations
HKLM\SYSTEM\GWE\Menu\AniType = 0 (DWORD decimal)
Increase Font Cache
HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 (DWORD decimal)
Enable File System Cache
HKLM\System\StorageManager\FATFS\EnableCache = 1 (DWORD decimal)
Increase File System Cache
HKLM\System\StorageManager\FATFS\CacheSize = 4096 (DWORD decimal)
Increase FileSystem filter cache
HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize = 4096 (DWORD decimal)
add a Disconnect button and a timer display showing how long GRPS is in use for the session
HKLM\ControlPanel\Phone\Flags2 = 16 (DWORD decimal)
Show Edge network indicator instead of GPRS
HKLM\Drivers\BuiltIn\RIL\EnableDifferGprsEdgeIcon = 1 (DWORD decimal)
SMS notification Enabled instead of disabled
HKLM\Software\Microsoft\Inbox\Settings\SMSNoSentMsg = 0 (DWORD decimal)
Make WM5 ask where to install a program
HKLM\Software\apps\Microsoft Application Installer\fAskDest = 1 (DWORD decimal)
Make WM5 keep CAB files around after installing
HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)
Enable Real Time Memory Defragmenting
HKCU\Software\Microsoft\Shell\NeverDorkMemory
Changing sound categories to raise volumes
HKCU/CONTROL PANEL/SOUND CATEGORIES/ATTENUATION
0=0
1=5
2=5
3=5
/INCALL
INITVOL=5
/RING
INITVOL=5
SPEAKER=5
/VOICECOMMAMD1
INITVOL=5
Thank You,
Craig
Click to expand...
Click to collapse
Looks good Cybiker. Just a quick note - the NeverDorkMemory key has no effect on WM5 devices.

Errr.....I've hit a problem doing this whole rom cooking thing. My extended ROM and the SPL did NOT upgrade. Everything else did. I double checked the start points for all the files and they were all okay i think. If i have IPL 2.4 but SPL 2.21 should that be a problem? I have not tried down grade yet!?

Related

2 NEW ROMs WM5 (Microsoft BT stack) based on namaich ROM

I have cooked two completely new WM5 ROMs based on namaich ROM.
One in WWE:
ftp://xda:[email protected]_Extracted_Updates/WM5_ArtZ/WM5_ArtZ_WWE.rar
and the second one customized for France:
ftp://xda:[email protected]_Extracted_Updates/WM5_ArtZ/WM5_ArtZ_FRA.rar
I hope you will like them ;-)
EDIT MDAIIIUser (links corrected)
Notes about these releases
__________________________________________________________
This version is based on "BA_5.1.1700_build_14343_Upgrade_V3_by_mamaich" ROM. I have used the original package and rebuild completely this version from that point. It's really a clean version and all modifications have been already tested successfully in TuMa's and Ivan's versions.
In fact, I've been using Ivan's 4 R1 version with Widcomm BT stack, but I find this version "dirty", because many Microsoft BT stack parameters are still in the registry and I found some keys were missing (intentionally?).
Personally, I don't see the interest of using Widcomm BT stack over a version built on Microsoft's... so I decided to go back to the original BT stack. Well, I don't use a headset but I use BT to connect my BA to the audio system in my car and TomTom Navigator 5.21 at the same time. I don't have any problem with this issue.
I find WM5 runs not as fast as WM2k3 on BAs, but I cannot see really an overall difference between Ivan's release and this one.
Do not hesitate to make your comments.
Briefly, I've done the following of changes:
-New Camera 2.3 version,
-New Pocket MSN version,
-SPCS is now disable by default,
-Extended_ROM is on your SD Card and supports AutoStart,
-GPRS disconection settings, WiFi fix, Buttons Fix, Headset Today, CarKit camera patch, Speed Settings (cache and flag values),
-Registry have been cleaned (ordered and double entries deleted) and version numbers have been added
HowTo install this new version
__________________________________________________________
1.- Copy the folders "\Extended_ROM" and "\Tools" in the root of your SD Card
2.- Launch "\Tools\DOC_Tool_1.0.exe" from your SD Card to to get extra storage space under WM2005 (31Mb). This change IS reversible with "DOC_Restore_1.0.exe"
3.- Launch WM5 upgrade
You're done!
When our BA will start, it will automatically install all the CABs located in "\Storage Card\Extended_ROM", though you must validate each CAB.
Some CABS will propose you to "Restart". Click on "Cancel" to continue the Setup. Your BA will automatically restart at the end of the process.
Notes about Extended_ROM
__________________________________________________________
I recommend you to install at least these CABs in the \Extended_ROM directory:
"\Storage Card\Extended_ROM\Album_BA_AKU26_RC23_Midi.cab"
"\Storage Card\Extended_ROM\ArcsoftMMS_3.0.7.6.cab"
"\Storage Card\Extended_ROM\BA_OEM_PA_WModem.sa.cab"
"\Storage Card\Extended_ROM\BA_WW5_ScreenRotate_1.1.cab"
"\Storage Card\Extended_ROM\BA_WW5_SMS_Alert_fix.cab"
"\Storage Card\Extended_ROM\BA_WW5_Wizard2_Tweaks.cab"
"\Storage Card\Extended_ROM\CAB-Cyberon_Voice_Dialer_2.cab"
"\Storage Card\Extended_ROM\CAB-TrueFax-2.09.1-WWE-04Mar05.cab"
"\Storage Card\Extended_ROM\Caller_ID_BA26_Generic_WWE_RC21.cab"
"\Storage Card\Extended_ROM\ClearVue_2.4.386_withoutBP_OzUp.sa.cab"
"\Storage Card\Extended_ROM\Java_10.1.2.76_BA_WWE_unremovable.cab"
"\Storage Card\Extended_ROM\PVPlayer_WWE_AAC.2577.cab"
"\Storage Card\Extended_ROM\Signed_HTC_CameraPatch_2.3.sa.cab"
"\Storage Card\Extended_ROM\ZIP_BlueAngelAKU26_Generic_WWE_RC20.cab"
Description
__________________________________________________________
"Album_BA_AKU26_RC23_Midi.cab" is used by the HTC Camera
"ArcsoftMMS_3.0.7.6.cab", you need this cab for sending MMS
"BA_OEM_PA_WModem.sa.cab" You can use your BA as a modem
"BA_WW5_ScreenRotate_1.1.cab" An icon to rotate your screen will display in "Today"
"BA_WW5_SMS_Alert_fix.cab" will fix a problem receiving SMS alerts.
"BA_WW5_Wizard2_Tweaks.cab" will install a small tool call "Set Security" that will allow you to set ON and OFF SPCS security.
"CAB-Cyberon_Voice_Dialer_2.cab" Voice Speed dialer. Works also with "Bluetooth"
"CAB-TrueFax-2.09.1-WWE-04Mar05.cab" You can use your BA as a Fax
"Caller_ID_BA26_Generic_WWE_RC21.cab" Will show the names in your phonebook instead of the phone numbers
"ClearVue_2.4.386_withoutBP_OzUp.sa.cab" will install clearVue fonts
"Java_10.1.2.76_BA_WWE_unremovable.cab" will install java
"PVPlayer_WWE_AAC.2577.cab" a multimedia player useful to play your MMS files.
"Signed_HTC_CameraPatch_2.3.sa.cab" contains important updates for the camera and camera
CarKit.
"ZIP_BlueAngelAKU26_Generic_WWE_RC20.cab" Zip utility for BA
Downloading... Will try it as soon as downloaded
[deleted]
Was not able to doenload with IE. Used WSFTP. Slow but it worked.
The Upgrade is running ...
YAY! The MP4 recording in Camera works!
The Keyboard lag is still there
Attempting test procedures...
[deleted]
willpower102 said:
i really don't understand what i am doing wrong. I do this stuff all the time so i'm not noob scrambling to learn ftp.
am i connecting to the wrong port?
Click to expand...
Click to collapse
NO : port 21 it's right.
Maybe your personal firewall? If you have installed one, try to disable it before connecting.
Hi,
BT problems are sthe same as in Tuma and Ivan's ROM, still disconnect's when pressing power onn and off.
Hi,
BT problems are still same as in Tuma and Ivan's ROM, still disconnect's when pressing power onn and off.
Hi guys,
According to a few post on xda-developers ( there's a very interesting post at http://forum.xda-developers.com/viewtopic.php?t=45846&highlight=cachesize by TuMa) and wiki.xda-developers, I have used the following parameters to speed up (cache settings) our BA in my ROM:
Registry entry: 0x00001000 (=dword:1000)
Number of sectors: 4096
Cache in kilobytes (KB): 2048
as follows
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"EnableCache"=dword:1
"CacheSize"=dword:1000
"Flags"=dword:10046
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"ReplStoreCacheSize"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"Flags"=dword:28
"DataCacheSize"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC\FATFS]
"Flags"=dword:10056
"DataCacheSize"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1\FATFS]
"Flags"=dword:14
"DataCacheSize"=dword:1000
but after doing further tests, I have the impression that reducing
CacheSize to 1024KB my BA runs faster and smoothly.
Registry entry: 0x00000800 (=dword:800)
Number of sectors: 2048
Cache in kilobytes (KB): 1024
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"EnableCache"=dword:1
"CacheSize"=dword:800
"Flags"=dword:10046
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"ReplStoreCacheSize"=dword:800
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"Flags"=dword:28
"DataCacheSize"=dword:800
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC\FATFS]
"Flags"=dword:10056
"DataCacheSize"=dword:800
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1\FATFS]
"Flags"=dword:14
"DataCacheSize"=dword:800
I have also modified some of the default "Flags" values, but I don't recommend you to do that if you don't know exactly what are you doing.
For further information, please check:
http://msdn.microsoft.com/library/d...tml/wce50confatfilesystemregistrysettings.asp
Please, let me know your own experiences.
Regards,
it's very slow the telephone!
FANTASTIC ROM!!
Love the new ROM & extended rom on the SD card. By the way do we have to install all cabs in extended to the device or card?
Simon
You can install the cabs where you want. I installed all the 'system' cabs (such as camera upgrade, MMS tool, etc) to the internal storage, while all the others - to the card.
Is there any method to change the boot logo? Those stripes aren't nice...
Hi guys,
I keep on testing CacheSize and DataCacheSize values and I'm very impressed with the results I get. I show some articles in MSDN which point out that increasing cache size will decrease performance especially using flash memory.
In fact, reducing values (I'm testing =dword:100 (256 in DEC) and =dword:80 (128 in DEC)) my BA works really fast... as fast as WM2k3
I do believe now the fact of increasing values up to =dword:1000 (4096 in DEC), as we were doing, it DOES decrease overall preformance.
There're also other registry key I have modified to add the following values:
[HKEY_LOCAL_MACHINE\System\StorageManager\IMGFS]
"PathCacheEntries"=dword:80
"Flags"=dword:10046
"EnableWriteBack"=dword:1
"EnableDataCacheWarm"=dword:1
"EnableCacheWarm"=dword:1
"EnableCache"=dword:1
"DataCacheSize"=dword:100
"CompactionPrio256"=dword:ff
"CompactionCritPrio256"=dword:ff
"CacheSize"=dword:100
"CacheDll"="diskcache.dll"
"BufferSize"=dword:100
Please, if you can add these values and modify CacheSize and DataCacheSize in this key and all the keys I gave you previously in this thread, I would really appreciate your help.
I will post a new version on Sunday night or monday morning with the optimal values.
Concerning BT disconection at power off, I don't have a solution yet. For me it's not a big deal as I don't have a headset and when I use BT in my car with TomTom, the BA is always turned on but I keep researching.
ArtZ
@simonsalo
Well, install all cabs in the extended rom is not mandatory. But you need the following cabs if you want to use all possibilities of your BA:
Album_BA_AKU26_RC23_Midi.cab (this cab works with your camera)
ArcsoftMMS_3.0.7.6.cab (if you send and receive MMS)
BA_WW5_SMS_Alert_fix.cab (if you want to see the name of the person who is calling you)
Java_10.1.2.76_BA_WWE_unremovable.cab (needed for IE)
PVPlayer_WWE_AAC.2577.cab (used together with ArcsoftMMS)
Signed_HTC_CameraPatch_2.3.sa.cab (camera patch)
@_TB_TB_
This is how I add files (ie: boot splash image) into a nk.nbf file. If you feel confortable with it, you can try.
I use "IMGF tools" and "rgucomp.exe" to modify the ROM.
The process is as follows:
-With xda3nbftool.exe, I convert the original nk.nbf file into nk.nba
-With IMGF tools, I prepare the nk.nba file to antoher format so I can extract, delete, add files (You cannot replace an extinsting file for a new one if you don't delete first the old one) or make a dump of the whole ROM (all directories and files) into a directory (I use the this option). The registry is in two files: default.hv and user.hv
-Then I use "rgucomp.exe" to convert the registry (default.hv and user.hv) into a text (ASCII) file to modify the values.
-Once this is done, I convert the new ASCII files into UNICODE files and I use again "rgucomp.exe" to convert the UNICODE files into default.hv and user.hv
-I copy the new files to the dump directory to replace the old files. I also can add some new files (programs, dll, etc) to the dump directory (This is how I have updated the Camera and Pocket MSN)
-When all this is done, I compile the dump directory to build a nk.nba file.
-Finally, with xda3nbftool.exe I rebuild nk.nbf file
two thumbs up
Promptly, Thanks to Artz Efforts for new cooked WM2K5 ROM, I'm downloading... I do hope your ROM improved and solved some bugs & problems on Others ROM.
I have deleted Cache settings patch from ftp server. This patch is not need anymore with the versions actually on the server. The patch has been already included!
Hi ArtZ
Can i use your cab to setting my device using Ivan v4R1 now??
can you link to IMGF tools please
ArtZ said:
@simonsalo
Well, install all cabs in the extended rom is not mandatory. But you need the following cabs if you want to use all possibilities of your BA:
Album_BA_AKU26_RC23_Midi.cab (this cab works with your camera)
ArcsoftMMS_3.0.7.6.cab (if you send and receive MMS)
BA_WW5_SMS_Alert_fix.cab (if you want to see the name of the person who is calling you)
Java_10.1.2.76_BA_WWE_unremovable.cab (needed for IE)
PVPlayer_WWE_AAC.2577.cab (used together with ArcsoftMMS)
Signed_HTC_CameraPatch_2.3.sa.cab (camera patch)
@_TB_TB_
This is how I add files (ie: boot splash image) into a nk.nbf file. If you feel confortable with it, you can try.
I use "IMGF tools" and "rgucomp.exe" to modify the ROM.
The process is as follows:
-With xda3nbftool.exe, I convert the original nk.nbf file into nk.nba
-With IMGF tools, I prepare the nk.nba file to antoher format so I can extract, delete, add files (You cannot replace an extinsting file for a new one if you don't delete first the old one) or make a dump of the whole ROM (all directories and files) into a directory (I use the this option). The registry is in two files: default.hv and user.hv
-Then I use "rgucomp.exe" to convert the registry (default.hv and user.hv) into a text (ASCII) file to modify the values.
-Once this is done, I convert the new ASCII files into UNICODE files and I use again "rgucomp.exe" to convert the UNICODE files into default.hv and user.hv
-I copy the new files to the dump directory to replace the old files. I also can add some new files (programs, dll, etc) to the dump directory (This is how I have updated the Camera and Pocket MSN)
-When all this is done, I compile the dump directory to build a nk.nba file.
-Finally, with xda3nbftool.exe I rebuild nk.nbf file
Click to expand...
Click to collapse
Artz,
Thanks for this ROM. Seems very stable to me. Is there any way to get the UNLOCK feature as available on TuMA 1.3 and 1.4 on this ROM?
Just tried your cache patch and will report back after some experience.

PLS HELP ME I HAVE READ THROUGH THIS FORUM

I recently Upgrade to the Latest Ivan (with ramdisk) WM05 ROM.
I wanted to change the BOOTLOGO.
I tried the link where it asks to put BOOTLOGO.EXE and BOOTLOGO.BMP into the windows Directory then it asks to add registeries ... but doesn't explain how to add registries.
if anyone could help me with this... as how would u add Registry on the phone...
http://forum.xda-developers.com/viewtopic.php?t=47898&postdays=0&postorder=asc&start=150
hey
i matrix thanks for helping me..
the link u provided i have already read through it..
Posted: Sat May 20, 2006 22:51
--------------------------------------------------------------------------------
Quote:
Boot screen is a 'special feature' addition for TuMa v1.4. It was to try and comfort people with a nice boot screen since everyone panics with the colour bars. TuMa v1.4 was also designed to be a 'feature rich' out of the box solution ... but the feedback I've had has been to go the other direction.
Anyways ... if you want to have the bootscreen in ANY other ROM, all you need to do is the following:
You'll find the application and TuMa v1.4 Bootlogo attached in the ZIP.
To make it run at startup, just include the following registry entries, and place the files from the ZIP in /Windows directory.
Code:
[HKEY_LOCAL_MACHINE\init]
"Depend32"=hex:14,00,1E,00
"Launch32"="BootLogo.exe"
Once you've done that - any of the other CABs I created can then be used, or just replace the BootLogo.bmp file. You will need to ensure that the BMP file is in the SAME format as the example. 8 bpp, and same file size & resolution if you want to change it. That's all that is required.
so short explaination:
1. Make a BootLogo.bmp or use default WM5
2. Copy BootLogo.exe and BootLogo.bmp to \Windows
3. Crete these registry entryes into registry
4. Reboot
how do i do step 3 ... how do i create registry into registry as there r no steps mentioned.. pls advice
Download `total commander` for ppc (google it)
in total commander (TC), go to the top (the root) directory `\` and you should see a `\\`. Double click it and go to `registry`
You should see something like
HKCR
HKCU
HKLM
where HKLM is HKEY_LOCAL_MACHINE
do your guess work from there
hanmin said:
Download `total commander` for ppc (google it)
in total commander (TC), go to the top (the root) directory `\` and you should see a `\\`. Double click it and go to `registry`
You should see something like
HKCR
HKCU
HKLM
where HKLM is HKEY_LOCAL_MACHINE
do your guess work from there
Click to expand...
Click to collapse
I have resco registry explorer
but when i get to the folder.. i don't know how to add... specially the demand32 hex:14,00,1e,00
is it binary or string or multi string or dword... don't know what to do pls help.
Re: hey
[HKEY_LOCAL_MACHINE\init]
"Depend32"=hex:14,00,1E,00
"Launch32"="BootLogo.exe"
1. Launch your resco registry explorer whatever regedit utility u use
2. Browse to HKEY_LOCAL_MACHINE\init
3. Create a new Binary Value with
Value name: Depend32
Value Data: 14 00 1E 00
4. Create a NEW String Value
Value name: Launch32
Value data: BootLogo.exe
5. Save if u need to. exit
6. Reboot
have fun.
anyway i also attached the regedit program i use.
imatrix
Re: hey
imatrix said:
[HKEY_LOCAL_MACHINE\init]
"Depend32"=hex:14,00,1E,00
"Launch32"="BootLogo.exe"
1. Launch your resco registry explorer whatever regedit utility u use
2. Browse to HKEY_LOCAL_MACHINE\init
3. Create a new Binary Value with
Value name: Depend32
Value Data: 14 00 1E 00
4. Create a NEW String Value
Value name: Launch32
Value data: BootLogo.exe
5. Save if u need to. exit
6. Reboot
have fun.
anyway i also attached the regedit program i use.
imatrix
Click to expand...
Click to collapse
I copied the BOOTLOGO.exe and BOOTLOGO.bmp to the Windows Directory.
I added the String value LAUNCH32 VALUE BOOTLOOGO.exe
that way easy
with the Binary when i add DEPEND32 on the VALUE there's already 0000 and i can only input after that... anyway after doing that...
resco doesnt ask for saving anything.. so i close the folder and when i reopen it the new value r there... i restart but no bootlogo.
don't know what am i doing wrong.
ANYONE
OK I added the registries copied the bootlogo.bmp and bootlogo.exe to the windows folder...
Restarted nothing happens... Same old 4 colors.. can someone confirm this method works... pls
you said: with the Binary when i add DEPEND32 on the VALUE there's already 0000 and i can only input after that... anyway after doing that...
that where u went wrong.
download regedit utility i posted, and try that again.
imatrix
imatrix said:
you said: with the Binary when i add DEPEND32 on the VALUE there's already 0000 and i can only input after that... anyway after doing that...
that where u went wrong.
download regedit utility i posted, and try that again.
imatrix
Click to expand...
Click to collapse
yeh when i tried adding binary value under Depend32...
000 are already on the screen.. but when i input the data... and click ok..
the screen shows 14 00 1e 00 it doesn't show 0000 anymore. but when i reboot it doesn't work.. .so
anyway i will try your regedit.. and then post.. i hope it solves the issue.. don't know why but those 4 colors are annoying make the phone look fake or somethin.. haha
hey
Hey Imatrix.
thanks for ur tool.. that worked ... but i mean i still can't completely get rid of 4 colors.. the phone still reboots to 4 colors and then switches to the bootlogo.bmp.... its better then before.. but how do i change the intial 4 colors to O2 wall paper or somethin.. pls advice. thanks

Rom Cooking by NotTooSmart

Ok since alot of people are getting more and more interested in cooking thier own roms I thought I might make a post with my vast knowledge (or lack there of) to help the newbies who dont want to do as much reading as I did. I was a newb too and wish i saw this somewhere, hence why i wrote it. LOL.
Attached are all the files youll need {minus the nk.nbf}
To save myself the headache:
You have to be on IPL/SPL versions 2.xx or better.
20 Steps to Cooking your own ROM
The legal stuff:
This guide comes with no warranty and is based off the fact that you have a G3 wizard CID/SIM unlocked.
I provide no support for phones, ROMs, or pretty much anything else. Im always willing to give advice but
im not the ROM building GOD. If you brick your phone while following this tutorial, I cannot be held responsible.
If you have a lose of limb or life while using this guide, I cannot be held responsible.
Step 1.
Extract nottoosmart_cooking.zip to C:\ROM
Step 2.
Copy nk.nbf to C:\ROM
Step 3.
Open DOS prompt by going to Start>Run>CMD
Once in DOS Prompt simply type in cd
Code:
C:\ROM
Step 4.
This extracts all the seperate parts of the ROM
Code:
typho5.exe -x nk.nbf
Step 5.
This dumps the files to a folder called dump. Made it one batch to minimize on the typing. This batch does 2 commands which prepares the image then dumps it
Code:
Dump.bat
Step 6.
Copy default.hv and user.hv to the C:\ROM folder
<edit: Located in the dump folder created by Step 5. Remember most of these files you will want to edit will be read-only and hidden. So turn show hidden on and modify the properties to turn read only off. Only on these 3 files; initflashfiles.dat, default.hv and user.hv>
Step 7.
Code:
"HV to TXT.bat" default.hv
Edit default.txt in notepad. Save as Unicode {important: make sure its unicode and turn off wordwrap} and make sure the last line is blank.
Step 8.
Rename default.txt to boot.rgu
Step 9.
Code:
make_boot_hv.bat
This changes it back to an hv file.
Step 10.
Rename the newly generated boot.hv to default.hv
Step 11.
Repeat steps 6 through 9 for the user.hv {important: change default.hv to user.hv this time}
Step 12.
Use Notepad to work in the initflashfiles.dat and make sure that the last line is blank as with the default.hv and user.hv
{this file tells where to put files and such during a hard reset or initial instal}
Step 13.
Open initflashfiles.dat with WinHex {or any other hex editor} and delete the first 2 bytes {thats the first 4 characters}
{make sure you change the file properties for initflashfiles.dat to remove the read-only tag or else you wont be able to do this step}
Step 14.
Code:
Build.bat
This will build and package the ROM back into the 8004000-OS.nb
Step 15.
Run nb2nbf_tornado.exe
Fill in with the information below:
Code:
Model id: Wizard
Language: WWE
OEM Version {can be left blank}
Operator Version {can be left blank}
CID: Blank {must be left blank}
Step 16.
Set output file {should default to C:\ROM\nk.nbf}
Step 17. {follow this step exactly or you will brick your phone}
File #1 point to: 80040000-OS.nb
Start address: 80040000
Image Name: OS
{below I will list other known parts of an image that you may have with correct information if needed}
Step 18.
Click the Translate Button
Step 19.
Move the newly created nk.nbf to the C:\ROM\Wiz_Flash_Util folder
Step 20.
Run ROMUpdateUtility_Wizard_NoID.exe and sit back and watch.
During this process the update will stall at some point {differs between ROMs} just be patient and let it finish
Enjoy your hard work!!!
***
As promised, here are the diffrent parts for a ROM and the correct start addresses and Image Names.
{Dont stray from these or you will brick your phone}
Image Name: Extension Rom (aka the Extended ROM)
Start Address: 9b000000
Image Name: HTC (No idea what this is, but Molski uses it so I'm adding it)
Start Address: 9d000000
Image Name: OS (aka the guts of the ROM)
Start Address: 80040000
Image Name: Splash Screen (need I say more???)
Start Address: 92000000
Image Name: GSM (Radio part of the ROM)
Start Address: 96000000
***
All this information was collected from xda-developers.com and molski.biz forums.
I just made it look all pretty
-NotTooSmart
PS as a side note. You can modify the WM start picture by modifying the welcomehead.96.png. This file is typically hidden also
THANKS !!!!!!!!!
Thanks...Always wanted to go to the next level....now I can really get myself in trouble!
Wow... I've avoided cooking as I wasn't ready to try to put all the pieces together... Dang, I may have to try this now... Just what I need, something else to suck even more of my time away...
Looks like sticky material to me...
Step 6.
Copy default.hv and user.hv to the C:\ROM folder
where do I get those from ?
nottoosmart said:
Image Name: HTC (No idea what this is, but Molski uses it so I'm adding it)
Start Address: 9d000000
Click to expand...
Click to collapse
I would suggest that that is the OEM part of the ROM which is in this case named HTC where all OEM files that are integrated into the OS are put such as Commmanager.exe and certain drivers and control panel extensions.
Very nice guide otherwise.
pencilcase said:
Step 6.
Copy default.hv and user.hv to the C:\ROM folder
where do I get those from ?
Click to expand...
Click to collapse
Those files are located in the Dump folder created after Step 5 completes
ok there is no such file in the pdaviet3 release ... this is weird found it in faria's 3.3 though
pencilcase said:
ok there is no such file in the pdaviet3 release ... this is weird found it in faria's 3.3 though
Click to expand...
Click to collapse
Ok, one thing I should have put on there.....
Most files in these roms are read only and hidden.
To see them make sure that you have show hidden files on.
i used a different rom as base now pdaviet really does not have those files for some reason. I have one issue though. I can add a few rom-parts in nb2nbf_wizard.exe - for instance the extended rom ... see screenshot
my question: how can I add my extended rom?????
pencilcase said:
i used a different rom as base now pdaviet really does not have those files for some reason. I have one issue though. I can add a few rom-parts in nb2nbf_wizard.exe - for instance the extended rom ... see screenshot
my question: how can I add my extended rom?????
Click to expand...
Click to collapse
You have to manually type in the Image name for Extended Rom
Type it in exactly like this Extension Rom if not, hello paper weight
Impossible since it stops typing at
Extension R
...
dazed and confused
i wish to use this tool just to delete or add the programs that i wish to have in the rom
do i have to change registry settings to this
what part of it do i change i got to step 10-11 and did know what to change when i got there if there is a quick answer then please let me know if there is a long answer and it sounds like am in way over my head then tell me know and put me out of my misery
cheers
Anyone tried this?
Scoters Kitcken
http://buzzdev.net/index.php?option=com_phorum&Itemid=125&phorum_query=read,64,29513
pencilcase said:
ok there is no such file in the pdaviet3 release ... this is weird found it in faria's 3.3 though
Click to expand...
Click to collapse
Also, save yourself some grief and don't re-cook someone else's ROM. Cook your own "dinner" off of your provider's official release.
If you really want to "re-heat" Faria's or someone else's ROM, ask them first.
--M
easymob said:
i wish to use this tool just to delete or add the programs that i wish to have in the rom
do i have to change registry settings to this
what part of it do i change i got to step 10-11 and did know what to change when i got there if there is a quick answer then please let me know if there is a long answer and it sounds like am in way over my head then tell me know and put me out of my misery
cheers
Click to expand...
Click to collapse
Ok its not too difficult if you pay attention to how the install goes. What you need is something like WinCE Manager to look at the steps that the install does for that application and put in the required files which you can extract for the cab. also the reg entries are there. initflashfiles.dat is the file that the OS reads after a hard reset and what the file does is tells it where to place files. Im going to write a new addition today to this guild to explain how that file works and how to work in the default.hv and user.hv so that you dont have any problems.
Also with adding files or applications you have to be careful as there is a size limit to the ROM. The build.bat will fail out if you exceed the limit. I learned this while messing with the WM6 MB edition which actually pushes the limit on the size.
demontefixo said:
Also, save yourself some grief and don't re-cook someone else's ROM. Cook your own "dinner" off of your provider's official release.
If you really want to "re-heat" Faria's or someone else's ROM, ask them first.
--M
Click to expand...
Click to collapse
I was not meaning to steal someone elses work but in order to learn the process I prefer to compare how things are done so I dont brick my phone completely.. I guess thats understandable? All I am looking for is a Vanilla ROM with all my personalized apps.
pencilcase said:
Step 6.
Copy default.hv and user.hv to the C:\ROM folder
where do I get those from ?
Click to expand...
Click to collapse
they are in the dump folder
pencilcase said:
Impossible since it stops typing at
Extension R
...
Click to expand...
Click to collapse
Ok, even though it looks like it stopped...... it really didnt. Just finish the "om" and it will be fine
nottoosmart said:
Ok, even though it looks like it stopped...... it really didnt. Just finish the "om" and it will be fine
Click to expand...
Click to collapse
Figured it out ... its
"Extension" without the ""

IE User Agent String and VodafoneLive!

Hi,
I've been trying to change the User Agent string in Internet Explorer so I can browse Vodafone Live! and watch Mobile TV on my P3600. Vodafone Live! can only be accessed by supported phone models, so one has to trick the website into thinking your unsupported phone is one of the supported models. In newer versions of Internet Explorer mobile, this is done by modifying the hardcoded User Agent string in the \Windows\browser.dll file, and various members have kindly released such modified files with different browser identifiers.
From visiting http://www.useragentstring.com/, we can see some extra custom data (found in the registry) is appended to the hard coded user agent string. I apologise if this has been suggested before, but instead of releasing many versions of browser.dll files to spoof different phones, why not erase the hard-coded string entirely and just use the custom data to set the User Agent from the registry. Here's what I did...
I extracted the browser.dll file from mun_rus' cooked rom: mUn_1.25.TE_AKU3.5.2_WWE, but I assume this file will be compatible with all AKU 3.5.2 builds (Someone please confirm this; if you are not using the same ROM, I would advise not to use the attached files until someone has confirmed it). Initially, the hard-coded string read:
"Mozilla/4.0 %s (compatible; MSIE 6.0; Windows CE; IEMobile %d.%d)"
I overwrote the entire string (apart from the %s) with 0x00's (Hex), saved the file and uploaded it to my phone.
Now if I set the value of the registry key "Custom", located at:
HKLM\Security\Internet Explorer\User Agent
to:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.8) PPC; 240x320; HTC_P3600/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1"
The browser performs exactly as before. However, the advantage now is that when I want to watch Mobile TV or browse Vodafone Live, I can simply set the "Custom" registry key to:
"Nokia6233/2.0 (03.46) Profile/MIDP-2.0 Configuration/CLDC-1.1 RSS Reader 1.18, Nokia6233/2.0 (03.46) Profile/MIDP-2.0 Configuration/CLDC-1.1 UNTRUSTED/1.0"
I have shared some automated installer cab files which will make these modifications without having to go through all the trouble of extracting files from roms, and hex/reg editing. They are as follows:
[*]AKU352_dlls.zip: contains 2 files to be copied to your PPC.
Run modified_AKU352_browserdll.cab to replace the original browser.dll with one that does not have a hard coded user agent string.
Run orig_AKU352_browserdll.cab to restore your browser.dll with the original one from mun_rus' rom.
IE_HTC_P3600.cab : set the User Agent string to simulate a HTC P3600
IE_Nokia6233.cab : set the User Agent string to simulate a Nokia 6233 (which gives access to Vodafone Live!)
Now you can change between HTC_P3600 and Nokia 6233 by simply running a cab file, (which only changes some registry data)!
PS, if people think this is a good idea maybe mun_rus and lvsw could include this modification in their future cooked roms? Otherwise, i'll update this thread with new dll's when new roms are released
This is a very interesting topic. Thanks for your research and detailed post.
I was wondering if you ever tried the PIEPlus v2.2 plugin for MobileIE?
http://www.reensoft.com/PIEPlus/
The site discribes a Custom field selector for User Agent. If you have tried this, was it successful?
I too would like to use some cell provider content that is unavailable to my Trinity without spoofing the User Agent string.
Thanks for your free alternative. I would enjoy any feedback.
Sorry double post.
Hi,
Since AKU 3.3 and WM6, tools which change the user agent string (such as PIEPlus) have not worked due to the hard coding of the user agent string in the browser.dll file. I did try the new version of PIEPlus myself, but visiting www.useragentstring.com reveals that nothing is changed. Someone pointed out this fact in this thread. I also tried a number of other tools, and even changing the registy values manually myself, without any luck.
For now, it seems the only way is to modify the browser.dll file. I've given full instructions how to do this since I'm not sure whether it is safe or not to copy this file across different builds of Windows Mobile. Blanking out the hard coded string seems the most generic thing to do - that way you dont have to keep overwriting the dll when you want to spoof different phone models/browsers. Once the modified dll is in place, you can go along to the specified registry key and insert your own user agent string (incase the Nokia 6233 isnt the one you were after).
Hi,
Easy link to check your user agent is also available here:
http://uap.texto.cc
regards
Richard
These browser.dll's are not working on my TyTN II (WM6).
How did you extract and modify the browser.dll.
I want to extract and modify the browser.dll from my TyTN II, however i cannot copy it from the windows directory.
What program do you use to modify the file and waht do you change???
Thanx in advance
Hi John,
You will need to find the rom you flashed your phone with, then using the ImgFS tools, extract the relevant file from the rom. HexEdit the file as described, then use WinCE Cab manager to make a cab and replace the file in the windows directory on your phone.
Hope this helps,
Let me know if I can help further...
James.
jamesbest77 said:
Hi John,
You will need to find the rom you flashed your phone with, then using the ImgFS tools, extract the relevant file from the rom. HexEdit the file as described, then use WinCE Cab manager to make a cab and replace the file in the windows directory on your phone.
Hope this helps,
Let me know if I can help further...
James.
Click to expand...
Click to collapse
I think CustomBase must be changed isnt?
lucgas said:
I think CustomBase must be changed isnt?
Click to expand...
Click to collapse
No, dont change "CustomBase", only erase the parts I have described. This excludes the %s but includes the %d's
AKU352_dlls.zip works on my p3600 with WM6.
Dont have vodafone, but what used to be vodafone in sweden, and it works great . Thanks!
Raiker said:
AKU352_dlls.zip works on my p3600 with WM6.
Dont have vodafone, but what used to be vodafone in sweden, and it works great . Thanks!
Click to expand...
Click to collapse
That is very strange - but glad it worked!
I wouldn't recommend that anyone else try these dll's on their phone unless they are using AKU 3.5.2. Otherwise unpredictable things may start happenning...
jamesbest77 said:
That is very strange - but glad it worked!
I wouldn't recommend that anyone else try these dll's on their phone unless they are using AKU 3.5.2. Otherwise unpredictable things may start happenning...
Click to expand...
Click to collapse
hi i have tytn and i installed a cab file...but...it worked under GPRS but as soon as i was in 3g zone i couldnt connect to the net, it was saying that my modem has disconested. do u have any idea what i did wrong?
UserAgent patch attempt on HTC Universal
jamesbest77 said:
Hi John,
You will need to find the rom you flashed your phone with, then using the ImgFS tools, extract the relevant file from the rom. HexEdit the file as described, then use WinCE Cab manager to make a cab and replace the file in the windows directory on your phone.
Hope this helps,
Let me know if I can help further...
James.
Click to expand...
Click to collapse
Hi James,
I'm trying to do this exact same patch for the HTC Universal with a WM6 ROM. I succeeded in extracting the browser.dll:
alpinenbfdecode.pl -d nk.nbf nk.nba
mkdir files
rdmsflsh.pl -d files nk.nba
But when I copy the browser.dll (even unpatched) to the device and start Internet Explorer I get the error: iexplore.exe is not a valid application.
I've also noticed that all DLLs I have extracted differ a bit in size compared to the sizes they have on the PocketPC itself. Anyone has tips?
browser.dll for HTC Universal
Hi all,
I installed the browser.dll from MUN200SEwm6beta_dlls.zip and it worked on my HTC Universal with WM6. However, I didn't like the feature to enter the useragent in registry, so I changed the DLL and now it contains this useragent string:
Mozilla/4.0 %s (compatible; MSIE 6.0; Windows NT 5.1; Ruw. %d.%d)
The 'Ruw.' was just to fill up the string as I didn't want to change it's length to avoid unspecifed behaviour. Ruw is short for Ruwebit.net (my site).
It works perfectly with all sites. To install: just copy the browser.dll to /Windows. To uninstall: just delete it from /Windows and the original browser.dll from the ROM will re-appear.
user888 said:
It works perfectly with all sites. To install: just copy the browser.dll to /Windows. To uninstall: just delete it from /Windows and the original browser.dll from the ROM will re-appear.
Click to expand...
Click to collapse
Some sites don't seem to fully load with this DLL on a HTC Universal...
user888 said:
Hi all,
I installed the browser.dll from MUN200SEwm6beta_dlls.zip and it worked on my HTC Universal with WM6. However, I didn't like the feature to enter the useragent in registry, so I changed the DLL and now it contains this useragent string:
Mozilla/4.0 %s (compatible; MSIE 6.0; Windows NT 5.1; Ruw. %d.%d)
The 'Ruw.' was just to fill up the string as I didn't want to change it's length to avoid unspecifed behaviour. Ruw is short for Ruwebit.net (my site).
It works perfectly with all sites. To install: just copy the browser.dll to /Windows. To uninstall: just delete it from /Windows and the original browser.dll from the ROM will re-appear.
Click to expand...
Click to collapse
how do u copy it? when i try it it says acces denied
anyone tried this with an Ax3l rom?
i'm using AX3L_WM6_WWE_v3.1.2_Lite, should i give your dll a try? or it isnt going to work and i have to manually create the browser.dll for my rom? i'd like to avoid it if i can
whatever you do *dont* try these dlls on the wrong rom. you'll have to make your own for that particular rom i'm afraid - but it isnt hard at all, and you'll learn a lot
By the way, isnt there a new easier way to modify the User Agent string now? I've heard some people mention they used Schaps' Advanced Configuration tool....
hehe alright, i'll do that as soon as i get some time
i'll post my progress here
gurth4ng said:
hehe alright, i'll do that as soon as i get some time
i'll post my progress here
Click to expand...
Click to collapse
whats happeneing? i have wm6 on dopod383pro. really would like to use vodafone life especialy those foxtel chanels

Am i being totally stupid with registry edit?

Someone please tell me where i am going wrong with this as i must be the most stupid person on here
i have downloaded phmregistry edit and all of the edit posts say go to
HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
this is an example of one of the changes but when i open reg edit i only have
HKEY_CLASSES_ROOT
and a few other HKEY
So where are these HKLM folders?
HKEY_LOCAL_MACHINE maybe......?
HKEY_CLASSES_ROOT = HKCR
Get it?
HKEY_CLASSES_ROOT = HKCR
Get it?
NisseDILLIGAF your a gem!
It all makes sense now
Thank you once again!

Categories

Resources