Repacked: BA unlock extended ROM CAB - Windows Mobile Development and Hacking General

Attached - a bit smaller, unistallable version of "BA unlock extended ROM". Simpy repacked.
BTW. Is it possible to execute program _with_ paramters during cold boot procedure?
Something like EXEC: "\Program Files\XDA\Extended ROM unlocker\unLockExtROM.exe" -unlock -xda3

Related

How do I create an Extend ROM Image from files??

How can I creat an extended rom image "ms_nbf" to include in my o2 update?? I am assuming that the Extended Rom images do not contain radio code?
I have the Extended_ROM directory and wish to turn it into ms_nbf to flash to my ROM of my xdaIIi.
I cannot find clear and sensible instructions anywhere just a jumble of tools and the like that don't seem to work 100%.
Do I use mkrom and if so how?? Or do I try and get MS romimage and if so how do I use them???

Custom ROMS Possible?

Given that crossbow is now floating around out there I was wondering if its possible to cook your own ROM for the Herald? I would happily start researching cooking ROMS etc. if it is. Or are we faced with a situation similar to that of the hermes where we need to find a bootloader that allows the flashing of unsigned code?
Hi,
i think the Problem is that Herald is not so popular as the Wizard and Prophet by now....
Let´s ait and see when someone is getting this nice one unlocked !
you are in the same situation as the Hermes.
AFAIK all devices using NBH for rom upgrades, need the upgrade file to be signed, otherwise bootloader won't flash it.
pof said:
you are in the same situation as the Hermes.
AFAIK all devices using NBH for rom upgrades, need the upgrade file to be signed, otherwise bootloader won't flash it.
Click to expand...
Click to collapse
thanks for the answer (not the one i was looking for though!), i noticed in your hermes thread that you managed to get your hands on the bootloader from a pre production hermes. has this helped? should i be looking for the equivelent for the herald?
It helped because it has the commands to flash unsigned code... i don't know if preproduction bootloaders in Herald will have the same "feature", but it may be handy if you can get one too
I can try looking but i wouldnt know where to start! any advice would be appreciated.
Bootloader of Herald is similar to that of prophet and wizard.The only differrence now is the nbh format.One needs to check if awizard work or not?Then we canthink of debranding.I am working on the Bootloader of herald.Will post everything in Wiki.Pls wait for some time
hdubli said:
Bootloader of Herald is similar to that of prophet and wizard.The only differrence now is the nbh format.One needs to check if awizard work or not?Then we canthink of debranding.I am working on the Bootloader of herald.Will post everything in Wiki.Pls wait for some time
Click to expand...
Click to collapse
ok thanks. If you need any assistance please ask me.
Here you go..
s4vva said:
ok thanks. If you need any assistance please ask me.
Click to expand...
Click to collapse
Thanks to aWizard v 1.3 beta2 and POF for making NBH extract..
I was able to flash my herald from 1.7 dopod asia to new HTC 1.8 without changing/touching IPL/SPL.Here is how to do :
1)Use POF's NBH extract and extract the ROM parts.
2) Copy the OS.nb to awizard ROM folder and rename it to.nba
3) From the Lib folder of awizard, transfer enable rapi and certsps cabs to yr device and install them.
4)Now run the batch file and select "e" to enable rapi.
5) Then you can directly choose the option "w".This will give you the option to choose the ROM u want.Select and wait till awizard finishes.
One can also back up the Extended ROM, Splash image, bootloader, Radio and OS ROM with awizard.
It is very interesting that the size of the .nb file extracted from NBH file and the size of the wizard ROM(80040000.nb) is exactly same.
I tried to put crossbow image into it..but I clouldn't boot the herald.The boot screen showed "OS 10.1.00.88
So if some one can extract the things from both the .nbs we can think of having crossbow in herald..and I think POF can do it.
I hope, this helps the members to upgrade and play with their toys.
You Rock
Finally !!!! Did it. followed the instructions and wallaa finally dutch rom Bye bye bye and Hello English Rom.
Thanx Guys you rock
Look'n forward to crossbow soon.
Very nice discovery hdubli!!
Unfortunately I don't have Wizard nor Herald, and I have not much experience in ROM cooking... you should ask the real gurus here if you want to port the Wizard's xbow to Herald.... I saw it was ported to Prophet, but I don't know about the internals of Herald and Wizard enough to say if this can be also done here or not.
Anyway, kudos for your finding!
P.S. You should add this info to the wiki!
well done hdubli, this is serious progress!
I have no experience of ROM cooking, however I have both a Wizard and a Herald, so if I can help in any way just let me know.
Can I update the page pool? I want more free ram I now have 24 mb, nut I really want al least 32mb
Can you help out how to extract my rom, is there any tuttorial? I tried XDA tools but it apears an error.
best regards
1. NBHextract
2. mamaich imgfs tools to extract OS.nb, if it does not work try tadzio's make/prepare imgf with "-hermes" switch.
thanks a lot
i'll try to get the portuguese rom for xda
best regards
pof said:
1. NBHextract
2. mamaich imgfs tools to extract OS.nb, if it does not work try tadzio's make/prepare imgf with "-hermes" switch.
Click to expand...
Click to collapse
looking for a bit of guidence here
i have the herald 1.8 ROM as .nba (taken from device using awizard)
and i have the wizard OS I want to use as .nb (extracted using typho5)
now my understanding here is i need to extract the herald drivers from the herald OS and replace the wizard drivers in the wizard OS, rebuild the OS.nba and write it to the herald using awizard. Am i heading along the right lines or am i way off? any help would be appreciated.
i really don;t know but if you have a rom with more ram I would like to have it lol
hdubli said:
Thanks to aWizard v 1.3 beta2 and POF for making NBH extract..
I was able to flash my herald from 1.7 dopod asia to new HTC 1.8 without changing/touching IPL/SPL.Here is how to do :
1)Use POF's NBH extract and extract the ROM parts.
2) Copy the OS.nb to awizard ROM folder and rename it to.nba
3) From the Lib folder of awizard, transfer enable rapi and certsps cabs to yr device and install them.
4)Now run the batch file and select "e" to enable rapi.
5) Then you can directly choose the option "w".This will give you the option to choose the ROM u want.Select and wait till awizard finishes.
One can also back up the Extended ROM, Splash image, bootloader, Radio and OS ROM with awizard.
It is very interesting that the size of the .nb file extracted from NBH file and the size of the wizard ROM(80040000.nb) is exactly same.
I tried to put crossbow image into it..but I clouldn't boot the herald.The boot screen showed "OS 10.1.00.88
I do the same thing as you did, tried to put crossbow image into it, and it boot up and freeze at the start screen, so now I have the problem, how to put the old OS back?
I have back up the OS ROM, but my machine can only boot into the tri-color screen, how did you do on your machine, please tell, it will hellp me out.
Thanks
Click to expand...
Click to collapse

Ripping the flash.

I try to add some usefull stuf to my flash (based on Tom`s B&B 3.7), I have some questions:
1. How to convert custom cab files to "redytoflash" condition. Another word - how to add some custom programs to the flash (Oem or SYS dir).
2. How to modified some default register settings?
3. How to add some programs into startup dir after flashing?
4. And how to add programs to ExtRom, to self installation on customization step?
Thanks to all Guru!
Alexander.

[Q]Question regarding Extended ROM

I have a question regarding the Extended ROM. I've read that this is the part that is executed whenever the device is hard reset and goes through the "Customization" phase (after the 3-second message).
Whenever we use the "nbhextract.exe" command on a shipped ROM, it produces an "ExtROM.nb" file which is separate from the OS.nb file. So that means our OS backups should not contain the ExtROM... However whenever I restore my ROM backup of my device, it does do the Customization, which means that the ExtROM actually is there, right??
Another confusing thing is that I remember a few times in the Device Info screen the ExtROM version would show up after a couple of resets (after restoring my OS backup). I cannot get it showing now, however.
There is a registry setting that can also show the Extended_ROM directory but it's not working for me either:
http://forum.xda-developers.com/showthread.php?t=315588
So my question is, is it really true that the Customization IS the Extended ROM and also, why is it being executed when I didn't even back that up?? If anyone can clear this up for me, that would be great
Custumisation can also be run without having an Ext rom.
The Autorun looks a t a registry setting that points to it's configuration file.
This Conifguration "config.txt" file in stock roms points most commands to the files on the \Ext_rom partition\
In most cases the config.txt file is only in the ext rom so autorun might run but not find the config file then quit.
Un custom roms the registry is changed and all files that then run in custimasation are simply in the Windows folder or it can be disabled.
It might be that some stock roms have a mix of files that need to be executed from ext_rom and some from Windows. But that should result in an error for the files it cannot execute from the ext_rom.
Ok, I just found an old backup of my documents and programs that I made with Spb Backup. It was made before I did any installs of ROMs to my device back in March. My ExtRom version now shows up in the Device Info (which probably answers the question of why I saw it show up after reboot!) Thank god I have an original Spb backup of the device!
The registry setting to show the ExtRom directory doesn't work, however. I'm still working on it.. (EDIT: I probably can't see it now because only the original intact ROM would contain the ExtROM.. I am just using the OS backup now)
Thanks Noonski, your answer probably answered the question as to why my OS backup hangs after doing the Customization. It's likely installing from the Windows directory but then looks for the ExtROM directory and can't find it, so it hangs. I'm going to see if I can back up my ExtROM files and then somehow make it into a ROM.
Edit: If anyone has a Rogers Elfin that has been unmodified, could you please PM me and let me know if that registry trick works. I'd like to have a copy of the Extended ROM directory and make it into a ROM backup.
dsixda said:
Ok, I just found an old backup of my documents and programs that I made with Spb Backup. It was made before I did any installs of ROMs to my device back in March. My ExtRom version now shows up in the Device Info (which probably answers the question of why I saw it show up after reboot!) Thank god I have an original Spb backup of the device!
The registry setting to show the ExtRom directory doesn't work, however. I'm still working on it.. (EDIT: I probably can't see it now because only the original intact ROM would contain the ExtROM.. I am just using the OS backup now)
Thanks Noonski, your answer probably answered the question as to why my OS backup hangs after doing the Customization. It's likely installing from the Windows directory but then looks for the ExtROM directory and can't find it, so it hangs. I'm going to see if I can back up my ExtROM files and then somehow make it into a ROM.
Edit: If anyone has a Rogers Elfin that has been unmodified, could you please PM me and let me know if that registry trick works. I'd like to have a copy of the Extended ROM directory and make it into a ROM backup.
Click to expand...
Click to collapse
This can be easily modified using Hypercore to dump the rom.
The look at the Rom/XIP folder and adjust the boot.rgu and the .rgu in OEM operators.
Or just change the config.txt in oemoparators.
Then recook the files into NBH file.
Since you are allready taking it apart it already is missing the original HTC signature after using HTCRT.
Noonski said:
This can be easily modified using Hypercore to dump the rom.
The look at the Rom/XIP folder and adjust the boot.rgu and the .rgu in OEM operators.
Or just change the config.txt in oemoparators.
Then recook the files into NBH file.
Since you are allready taking it apart it already is missing the original HTC signature after using HTCRT.
Click to expand...
Click to collapse
Aha! Thanks for the tip... this is what the config.txt says under /Windows:
LOCK:Enabled
EXEC:\WINDOWS\cusTSK.exe \WINDOWS\Rogers_White.tsk
XML: \WINDOWS\Menu_Operation.xml
CAB: \WINDOWS\pIE_Default_Page_Rogers.CAB
CAB: \WINDOWS\PT_PIE_DEFAULT_0409.CAB
CAB: \WINDOWS\DoMore.CAB
CFG: \Extended_ROM\Config.txt
Just taking out that line will probaby do the trick... However I want to get the entire ROM replicated, so it'll require me to get the Extended_ROM out.
I also found a cool tool by AnDim that can construct an ExtROM.nb from the Extended_ROM directory files:
http://forum.xda-developers.com/showthread.php?t=303049
dsixda said:
Aha! Thanks for the tip... this is what the config.txt says under /Windows:
LOCK:Enabled
EXEC:\WINDOWS\cusTSK.exe \WINDOWS\Rogers_White.tsk
XML: \WINDOWS\Menu_Operation.xml
CAB: \WINDOWS\pIE_Default_Page_Rogers.CAB
CAB: \WINDOWS\PT_PIE_DEFAULT_0409.CAB
CAB: \WINDOWS\DoMore.CAB
CFG: \Extended_ROM\Config.txt
Just taking out that line will probaby do the trick... However I want to get the entire ROM replicated, so it'll require me to get the Extended_ROM out.
I also found a cool tool by AnDim that can construct an ExtROM.nb from the Extended_ROM directory files:
http://forum.xda-developers.com/showthread.php?t=303049
Click to expand...
Click to collapse
Simply using Total Commander without any registry tweak.
Type in \EXTENDED_ROM
To get into the folder (original rom flash.)
And copy over the files and put these into any SYStem folder.
You would get the rom replicated without losing the space to EXT_rom partition.
EXT_Rom is So 90's
At least on the ELF
Ok, there was someone on the forums here (Boodah) who happened to have an unmodified Rogers Elfin with an intact ExtROM. So, using TFAT Image Editor I was able to make a working OS + ExtROM Now it functions like its original version
Thanks for the Total Commander tip.. with that app I was able to verify the ExtROM was flashed on my Elfin.
dsixda said:
Ok, there was someone on the forums here (Boodah) who happened to have an unmodified Rogers Elfin with an intact ExtROM. So, using TFAT Image Editor I was able to make a working OS + ExtROM Now it functions like its original version
Thanks for the Total Commander tip.. with that app I was able to verify the ExtROM was flashed on my Elfin.
Click to expand...
Click to collapse
Ah your not cooking it completly.
That would gain you at least 10MB
Noonski said:
Ah your not cooking it completly.
That would gain you at least 10MB
Click to expand...
Click to collapse
Yeah the ExtROM has to be 10,240MB or else it will not flash properly. But I want it to be like the original.
Anyways, nobody uses the original software anyway ;-) But the backup is there for people who need it for warranty or selling purposes.
dsixda said:
Yeah the ExtROM has to be 10,240MB or else it will not flash properly. But I want it to be like the original.
Anyways, nobody uses the original software anyway ;-) But the backup is there for people who need it for warranty or selling purposes.
Click to expand...
Click to collapse
Aye, hear that, all contribution, great work.
I thought this was just about making a stripped version.
Missunderstandings happen
Noonski said:
Aye, hear that, all contribution, great work.
I thought this was just about making a stripped version.
Missunderstandings happen
Click to expand...
Click to collapse
That's a good idea though - stripping down their ROM.
But I'll stick with the cooked ROMs Too much bloat in stock ROMs.

[Q] auto delete cab after installation during rom flash ?

Hi,
I've searched through the fora before posting this question : I've found a registry tipp to delete or not cab after installation but that's not what I need, I mean I prefer cabs to not be deleted for daily use.
My question is : I would like to know if there is a tweak to auto-delete cabs after installation ONLY during flash (when cabs are cooked into rom)
I use the classic config.txt with by example :
Code:
LOCK:Enabled
CAB: \windows\DiamondTweak.cab
CAB: \windows\TCPMP.cab
LOCK:Disabled
I tried without the lines "Lock:Enabled/disabled" (I don't know why we add those lines lol) but there is no difference after flashing, cabs are still there into windows dir. Is there a specific command line to add into config.txt to delete cabs after install process ?
You can't delete rom files; you can cook tcpmp in better though; relocate all the files to \windows, and you don't need to install it as a cab. I'm sure diamond tweak would work fine out of rom as well. You really don't need to put many programs in \program files.
The lock enabled/disabled command just locks the screen out from user input. It's pretty effin' annoying, if you ask me. I leave the screen unlocked, in case the customization hangs (although I don't use autorun anymore).
ok, thank you

Categories

Resources