yashsingh1/xdaforums huggingface dataset:
[8125, K-JAM, P4300, MDA Vario Software Upgrading] cybiker123:
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
[8125, K-JAM, P4300, MDA Vario Software Upgrading] cybiker123:
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
[8125, K-JAM, P4300, MDA Vario Software Upgrading] summiter:
Looks good Cybiker. Just a quick note - the NeverDorkMemory key has no effect on WM5 devices.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
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!?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
oh crap. turn out it does cause a problem. my device wont switch on. help plz!? what can I do!?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] summiter:
Yes that will be a problem, and probably a worst case problem.

If you can't get into a working bootloader your device is unrecoverable unless you send it off to HTC.

Hold down the camera button and press the soft reset button. If you get into the bootloader screen immediately flash back to a ROM you know was properly built.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
Looks like it s taking a long trip back to o2 :(

Considering I got it for free and that I am planning on getting the Hermes anyway, I aint hugely bothered. However, do you have any clue what I did wrong? My device was not CID Unlocked but the new nbf I put together had the o2 headers. Also, I used your ROM except altered extROM only?

Is there any chance they wont accept it under warranty lol (plz say that isn't a stupid question!!)?

Thanks
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
So I've cooked my Extended Rom and repacked it.

Then I compiled my nk.nbf file but I am getting the below error.

I've included a snapshot of the setting I used to build the nk.nbf.

Any ideas?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] gamescan:
For one, the extended ROM should be first. For another you've got the IPL and SPL in there twice. For third, the OS is loading to the wrong memory address.

Were you to actually flash this ROM you'd have a good chance of brickage. ;)
[8125, K-JAM, P4300, MDA Vario Software Upgrading] summiter:
And for fourth, you're not using a noID RUU utility...probably a good thing, since as is you would have done something nasty to your device.

Actually, as soon as it tried to load the OS portion into the address area you specified it would stop. You'd have to restart your device in BL mode and flash a good ROM.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
I was also wondering this. I am trying to find the proper start address for all of these. It automatically enters start address for OS, IPL, SPL, Slash Screen, and GSM. I need a start address for Extension and HTC Logo. (also does the name of Extension or HTC Logo matter? Cause they are not in the drop down)

I was also wondering the proper CID for 8125 (from cingular) I am guessing CWS_0901 but I'm not sure.

I don't want to make any mistakes here. I just want a nice custom EXT rom, not a brick =)

Thanx; Lew
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
You're right, I forgot to change the starting address for the OS.

The IPL and SPL extracts into two files each. WHich one do I actually use?

Finally, I was trying to put the files back in the same order the Operator provided nbfs are built.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] summiter:
This might be useful to you. Extended ROM should be called "Extension Rom" and the HTC logo should be called "HTC Logo".
[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
I was actually just about to say "forget that last post" and check this out. This looks good to me.

One thing though. I ONLY edited the EXT ROM. However when I build the NBF should I use a "RAW" or "decrypted" dump from the NBF tool for the sections I did not edit (GSM, OS, Splash Screen, HTC Logo, IPL, SPL)?

Thanx again; Lew

P.S. I miss building my own EXT ROM sooo much. I use to do it when it was easy (Blue Angel) and had a lot of fun with it. Thanx for helping me (and others) to be able to do this again.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
I think I've got it now....

Since I wasn't sure which of the extracted IPL & SPL files to use (since I get two of each when I use an operator nbf) I extracted the ones from Sumitter's latest Rom.

I think I've got it correct this time (see attached images) and I also got the No_ID RUU.

Just a quick question (if anyone knows), If I build a nk.nbf file with only say the Extension Rom and Splash Screen will the RUU only flash those included components? If so this would allow us to flash only the Extended Rom one our devices.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] summiter:
Re: I think I've got it now....

Correct you are!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] gamescan:
Yes. You can flash any individual component of the ROM. Want to flash just a splash screen? No problem. Want to flash just a Radio ROM? Do it.

The beauty of the load addresses is that the flashing util reads the NBF file and knows exactly where to put stuff. If something's not there, it'll just leave it alone.

I'm hoping to put the finishing touches on a "Clean" ROM in the next day or so and get that uploaded. This way anyone who wants to mess with "rolling their own" can safely flash that and have a base without any customizations. From there you'd be able to experiment with flashing different extended ROMs and not have to worry about hosing the OS/Radio/SPL/IPL.

I'll probably include a few base items in the extended ROM section of the clean ROM, but they will NOT be carrier specific in any way.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
It Worked!!!

I created a nk.nbf with only the HTC Logo and Splash Screen from the Cingular AKU 2.2 Rom. I then flashed my phone and it worked perfectly.

I am now running the T-Mobile AKU 2.34 Rom with Cingular only Splash Screen!

Next I will play with the Extended Rom!

BTW,

Summiter, thanks for your patience in sharing this information with the rest of us.

Once again we can edit our Extended Roms.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] summiter:
Re: It Worked!!!

Something useful that I do - you can store the installer cabs for stuff you often install in the extended ROM. So that if you do a hard reset, you can run the install cab from there. It doesn't have to be set to autorun if you don't want, they can just be stored there for easy access.

For example, I keep the cabs for Resco Explorer, Pocketbreeze, and Flexwallet in my personal Ext ROM images. I don't have them listed in config.txt so they don't auto install, although I could do that if I wanted.

I usually put Total Commander directly into my OS ROM since I use it often.

If you only build Ext ROM, or the radio, or splash, into an nk.nbf, that's all that will be flashed to the device. No danger of losing your OS and data.

One thing to note - there are really two splash screens. At boot it usually appears as if there is only 1, but that's because they are set to the same image. After the two splash screens, the WM screen appears just prior to the shell being launched.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
Even Better! Now I don't have to worry about those other components of the ROM. (W00T) I can just toy with my EXT ROM and splash screens! I will almost definitely be making a few Custom splash screens (I remember how from the other way, when u use an SD card to put a binary image on it)

Thanx again; Lew
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
Hey Summiter....

When IPL and SPL are extracted from Operator provided 2.x nk.nbf file there are two of each. Which one do you use when rebuilding the custom nk.nbf file?

example:

90000000-IPL_1.nb

90000000-IPL_2.nb

91000000-SPL_1.nb

91000000-SPL_2.nb

I do notice that apparently both IPL files are from the same memory address (as are the two SPL files).

If that is true then both files should be identical at it wouldn't matter which one to use.

I am extremely cautious here though becuase if I understand it correctly this is the one part that I can't afford to destroy since as long as my bootloader is good I can reflash with a known good Rom (which leads me to think that I might be safe just playing with the other parts and leaving the IPL/SPL updates to official Operator RRUs).
[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
I would agree, if it ain't broke, don't fix it. I wouldn't touch the "BIG 4" (OS, GSM, IPL, SPL) I'm way too scared. I was sooo nervous while mine was flashing, and I was just doing splash and EXT ROM. It only took about 30 seconds (maybe less) but it felt like forever!!!

I have successfully changed my EXT ROM and my splash screen. BTW no need to change HTC Logo, the way it is configured in the 2.25 ROM all you see is your slash screen anyways. I am not sure about how it works in the new AKU2.3 ROM though. I will check it out when I have some time to use the new ROM.

Later; Lew
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
I have found the T-Mobile AKU 2.3 Rom to be the best so far, average cold boot times: Clean OS (no programs installed) 32 Secs, All of my programs installed 50 Secs.

What I did was:

Flash with the T-Mo AKU 2.3 Rom.

Build a nk.nbf with the HTC Logo & Splash Screen from the Cingular 2.25 Rom and flash that.

Now I have a Cingular AKU 2.3 Rom on my phone running great!

The Cing 2.25 Rom does use 3 Splash Screens (HTC, Splash & OS) it only appears to use 2 because the HTC & Splash are the same image but beaware that the HTC and Splash are stored differently so you will need to transplat both to your device if you want AKU 2.3 with the Stock Cingular look.

Tonight I cook my Ext Rom!!!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
So how are you supposed to do this correctly?!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
Please be a little more specific. What exactly are you looking to do?

For example:

Do you want to "Cook" your extended Rom.

Do you want to change your Splash Screens.

etc...

Ask a complete question and I'm more than happy to share what I have learned so far.

I will say that I'm not really eager to mess with the IPL & SPL (collectively known as the Bootloader) because if I understand it correctly as long as my bootloader is good I can recover by flashing a known good rom but if I fry the Bootloader then I'm SOL!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
Ok. Sorry for being vague. I thought it might be obvious from my previous posts, but anyway....

I can decode the nbf file using Typhoon nbf v5 tools. I mount the extended ROM as a FAT partition and edit accordingly. However, when I use nb2nbf tools I did something wrong last time. Is there a specific order the files have to be selected? All the memory start locations were correct when I did it. I used the CID of my phone to encode the nbf, so that I do not need to CID Unlock. However, do you have to encode your nbf with the IPL and SPL present? My ROM update utility would not read the file if I didn't. Speaking of ROM Update Utility, do you have to use the no_ID one? My device is not CID Unlocked so I just used the ROMUpdate App that came with the o2 ROM and made my nbf with same CID. Also, what name do you have to put for the Extended ROM or does it not matter? (I have seen Extension ROM, Extended ROM, and ExtROM and sometimes it truncates the names!?) Also, when I finally did the update the SPL and the Extended ROM would not upgrade, and so I had a brick as my IPL was now 2.4 but my SPL 2.21. I've now got a replacement. Finally, how do you change the Splash.nb file to contain a different splash image?

I hope that is clearer now. Seems like a bit of a read lol

Thanks
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
First, You do not need to include every component in the nk.nbf file you build. If you only include Splash Screens & Extended Rom that is all that will be updated.

Having said that, I would recommend not including the IPL/SPL as these are the bootloader and if you fry that then you have a brick (as you discovered) but as long as your bootloader works you can always flash a known good Rom.

I have CID unlocked my phone and I leave the CID field blank. If I understand correctly as long as you use the "No_ID" Update utility the CID shouldn't be a problem.

The Extended Rom should be named "Extension Rom" the nbf Encode program doesn't allow you to directly type it, you need to use a little trick: type "Rom" (no quotes of course) and then press the [Home] Key, now type "Extension ". This allows you to get the whole name in the box.

If you want to use a "Stock Splash Screen" (which I did) then simply find the Official Rom with the Splash Screens you want, extract them and build an nk.nbf file with only the HTC Logo and Splash Screen. WHen you flash your phone with the file it will only replace the Splash screens.

If you want to use a custom Splash Screen I think aWizard has an option to convert an image to the proper nb file for you then just create you nk.nbf file as above and flash your phone.

Hope that helps..

Bob
[8125, K-JAM, P4300, MDA Vario Software Upgrading] gamescan:
If your phone is not CID unlocked DO NOT try to flash a custom ROM of any sort.

It doesn't matter what you're cooking, if you're not CID unlocked DO NOT flash a custom ROM.

Doing the CID unlock is very easy and will save you hassles down the road.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
My SPL was originally 2.21 and so I can not CID unlock until Lokiwiz 0.3 gets an update from machinagod :(
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
If you downgraded to a 1.x Rom then you would have been okay, there is a thread about it and even a Rom using the "No_ID" utility so it will allow you to downgrade easily.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
I know, at the top of that thread it says that this method does not work for devices already on SPL 2.21 or above lol
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
Opps, Sorry...

When you get your replacement I assume you will CID unlock it first then..
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
LOL. That's the trouble. My device came ALREADY with the SPL 2.21

I can only hope my replacement doesn't, but I have a feeling it will :(

cya
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
Maybe.... If you use the NO_ID Update Utility and leave the CID empty it should work even if your device isn't CID unlocked?

Anyone know if this is feasable??

If so then it might allow you to downgrade your bootloader (IPL/SPL) just to CID unlock!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
OK I can tell you that although in most these roms there are 3 images, in cingular 2.25 (official leek, not tampered with) there are only 2.

The HTCLogo seams to be bypassed because of the way it is built (I was a difference in a binary read, compared to the 2.16 ROM)

And of course the windows PNG.

I can conclude this because I built a custom nk.nbf with only EXTROM and Splash Screen (a custom splash screen made in binary) and when I rebooted BAM, I saw my custom splash screen instantly and all the way until the windows PNG. (then of course I changed my windows png to match, its called like welcomehead.69.png or somin)

So that's all, I can't say the same for the new ROM though (2.24 TMO).

Later; Lew
[8125, K-JAM, P4300, MDA Vario Software Upgrading] koaltech:
This is one of the more useful threads I have ever found...this is exactly what the more adventurous of us out here want to do.

One quick question...will putting them in the extended ROM just "park" the cabs in the extended ROM so that you can recover from a hard reset without needing to Activesync or have em stored on an SD card for example

Or will putting them in the extended ROM mean that they won't take up free space vs installing them later...

[never mind]

after researching this further (I think summiter explained this threads ago)...the benefit of cooking your own extended ROM is that you can save a LOT of install space that you'd have otherwise had to use when you installed programs...

You just can't deinstall the programs...so you should be fairly certain that you want to keep them though...

Or do I not have this correct?

OK after reading further, now I'm confused again...:? It looks like summiter was adding apps and utilities to the OS ROM...not to the extended ROM...so unless I can figure out how to do THAT, I won't save myself much at all other than the ability to save settings in the extended ROM...

This thread http://xdaforums.com/viewtopic.php?t=52213&highlight=extended+rom

and this one http://xdaforums.com/viewtopic.php?t=52519 were my references...
[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
Alright.

Think of EXT ROM as a 10 Mb disk, and whether you have 1.5 Mb in it, or 9 Mb in it, it will still be 10 Mb. So you see most EXt ROMs only take up a fraction of this. It is not possible (AFAIK) to use this space for program memory or "storage" for that matter. However, you can put whatever you want in here. Also if you want it to auto install certain things after a hard reset, you can add them to the config (open it with notepad and have a read).

I would like to use this space to put secret schematics of a "ultimate weapon" project I have been working on for some years now. I promise not to aim it at you guys, so don't tell anyone. :wink:

Later; Lew
[8125, K-JAM, P4300, MDA Vario Software Upgrading] koaltech:
Thanks...that was the conclusion I was coming to...in order to really do what I want, I'd have to a whole lot more work...but this IS cool to be able to change the splash screens and to "save" settings cabs so as to not have to go through the whole process all over again on a reflash...
[8125, K-JAM, P4300, MDA Vario Software Upgrading] CraF:
Hi.

When I make my own ROM by instructions from this topic and try flash my MDA Vario with it ROMUpdateUtility_Wizard_NoID.exe write to me that can't read memory and crash:( This happend on 56% of flash process:( Can some1 explane me what I making wrong?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] djwillis:
Just an educated guess, I bet your putting the OS at 82040000 (as on the Typhoon ROM) not 80040000 as needed on the Wizard.

nb2nbf defaults to 82040000 and you must change it.

Considering how the ROM is setup I would guess about 50-55% would be the point it would bork! (53% in the quick test I just did with an OS ROM at 82040000).
[8125, K-JAM, P4300, MDA Vario Software Upgrading] faria:
first delete that rom and start re-incodig again.my guess is that you put a wrong addrees [see picture] make sure your compilation has the same Start Address+Image Name and Length as the image that i attached before inconding the rom.it has to be exactly the same every time.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] CraF:
Hmm, look like that U have true. I haven't now access to this PC, but I think I set 8204... for OS part. Thnx. Evening I try re-encode ROM again with 8004.... address and try flash.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] HardRoc:
Random Question...what parts of the ROM cause all of your data to be lost (ie: results in a hard reset)? I'm pretty sure ExtROM and splash/HTC screens aren't included...anything else?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] gamescan:
Flashing the OS will likely force a hard reset. I'd guess that the bootloader would do the same, but I've never flashed just a boot loader.

You can safely flash the Ext ROM, the Splash Screen and the Radio ROM without requiring a hard reset.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kyphur:
If you flash the OS then it will have the same effect as hard reset.

I'm not sure about just flashing the bootloader IPL/SPL.

You can flash the Splash Screens, Extended ROM and Radio Rom without having the reconfigure the PDA Settings (WM5).
[8125, K-JAM, P4300, MDA Vario Software Upgrading] faria:
i can confirm that only the OS Hard-resets flashing any other parts of the rom leaves the settings/programs intact.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] jt_armstrong:
Faria

What app do you use to convert a .bmp to a .nb file? I have managed to cook my Extended ROM to suit my phone but now would like to change the Splash screen. I have tried aWizard but I get a write error, have also tried nb_image_converter found elsewhere on the forum but while it creates the .nb file it won't work when I compile it in my nk.nbf.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] faria:
ha ha, i knew someone would come up with that 1

i use aWizard like you,but i use it in my wifes wizard that has a portuguese rom version 1xxx ,after i convert the .bmp i use aWizard to grab the .nba ,and so on..... im afraid aWizard does not work in roms 2xxx for converting .bmp for splash screens.

as you can see it is a very tedious process.

regards

faria
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
the nb to bmp converter for himalaya works for a decoded wizard nbf file
[8125, K-JAM, P4300, MDA Vario Software Upgrading] faria:
dnt you mean .nba file? and the only bmps that a managed to extract are my custom .nba splashes ,as for official splashes only imate works the other carriers give an error tryng to extract the.bmp

faria
[8125, K-JAM, P4300, MDA Vario Software Upgrading] faria:
got a problem with my custom extended rom

in my custom extended rom i have added severel programs including [Spb ToPlay and Birthdays-1.2] now everything installs fine and a see it getting installed but when the device restarts the 2 prog mentioned above are not installed even do i seen it getting installed.

so i open the ext-rom with total comander and run the above files and everything installs fine.

i know that is not because they are not signed because i got several programs in the ext-rom unsigned like [wm5torage] and they isntall fine.

so guys, any ideas why this is happening?

thanks

faria

update ,

fixed :D :D
[8125, K-JAM, P4300, MDA Vario Software Upgrading] moghisi101:
yes I meant .nba and all of the official ones work fine for me. Would you like me to upload?