Dear all,
While waiting for the new version of ER2003edit that can work also with the Blue Angels extended roms, here is a work-around to manipulate the extended ROM.
You need Linux, either installed normally on one of your machines, or if you do not have / want a dedicated machine you can use a 'Linux on CD'
distribution (Like KNOPPIX) for this.
The idea is that the Extended ROM in priciple just a container file for a VFAT filesystem, and can be mounted on a loopback device under Linux.
You need to uncrypt the extended ROM first, to be able to access it, but this can be done easily with the xda3nbftool tool.
The command to do this is:
xda3nbftool -x ms_.nbf ms_.nba 0x20040522
Now you need to move the file to the Linux box, or mount the filesystem so thay you can access the file.
The mount command under Linux is:
mount -t vfat -rw -o loop,offset=0x70080 ms_.nba /mnt/loop0
(The image starts at another offset then the old XDA images, therefore the ER2003edit program does not work correctly. Old offset was 0x70040, so anyone who wants to hexedit/patch the er2003edit.....)
You can now work in the ROM image as you want. The access is R/W and you can remove and replace files as your heart desires.
Once finished, you need to unmount the device, and transfer the file back to the windows machine. Once done, you need to re-calculate the CRC checksum with the xda3nbftool tool, this is done with the following command line:
xda3nbftool -c -u ms_.nba
Now you need to crypt the ER back, also with the help of xda3nbftool to have the BaUpdateUt recognize it correctly.
xda3nbftool -x ms_.nba ms_.nbf 0x20040522
If you remove the other ROM files (Radio and OS) from the directory, only the extended ROM will be flashed, and not the whole shebang.
Credit goes to Luchtmacht & Camarque, they are looking now at ways to extract the bitmaps of the splashscreens.
Hope it's usefull.
Willem.
Hi,
I tried to mount in my Linux system (Redhat 9.x) which has an error message "mount: wrong fs type, bad option, bad superblock on /dev/loop0, or too many mounted file systems"
Please help? What I can do now?
And at Windows system, I use the nbf tool to decrypt the .nbf file, it has a warning "WARNING: this does not look like a nbf header, possible you provided the wrong password", does it correct?
Thanks for your help!
With the newer roms they changed the password and/or the encryption algorithm. Therefore the windows nbftool cannot decrypt them for now. You can try one of the older roms or wait until someone hack the algorithm and provides us with a newer version of nbftool
Hi developers, senior members and all who have knowledge to dump or create a rom.
All these shortcut language kills me. What I want is my original ROM saved, in case of damage (to restore for warranty).
What I did so far is that I have the 4 raw files actually successfully stored, but from than on it´s start to be difficult.
I used now "BlackStoneKitchen" as admin. but it stucks after starting BuildOs.exe. Wich means I can´t get the 4 files as a *.nbh or *.nb or what ever.
Somebody said in this forum (thread) you will loose your warranty because of your SPL is older than the current one and other people said there is no problem.
I´m tired to seach around in this thread to confuse myself continue, because you will not get an concrete answer.
I´m ready to give my original ROM (4 files raw) to this forum or for wiki to update the Rom list. The latest Rom that I saw is from November and I have from December (NL).
If there is a developer who can help me to do it for me, please let me know. I was seaching in this thread and I saw that I´m not the only one who have this problem. That is why I decide to pay for this work and I´ll donate a better and newer Rom.
I hope there is somebody who have mercy for my begging
Taken from Raphael ROM thread found here http://forum.xda-developers.com/showthread.php?t=427507
This is based on the assumption that you have a 1.14.x NLD ROM!
- Download official HTC 1.14 NLD ROM for RUU_signed.nbh from http://rapidshare.com/files/182960521/Blackstone_HTC_NLD_1.14.404.3_R.ZIP (link from Blackstone Wiki).
- Extract the zip file and you have the file "RUU_BlackStone_HTC_NLD_1.14.404.3_Radio_52.49a.25.26_1.09.25.14_Ship.exe".
- Use 7-zip or another tool to extract all files from "RUU_BlackStone_HTC_NLD_1.14.404.3_Radio_52.49a.25.26_1.09.25.14_Ship.exe".
- You will have - among other files - the required "RUU_signed.nbh".
- Download the Blackstone kitchen from this thread http://forum.xda-developers.com/showthread.php?t=438456 and extract it.
- Place Part01.raw, Part02.raw from ROM dump and RUU_signed.nbh in the folder BaseROM.
- Start BlackStoneKitchen.cmd
- Select "(e) extract a rom", "(b) if you want to rebuild and cook dumped ROM into flashable ROM" and wait for extraction process to finish (Message "Now start cooking your ROM!"). You should now have additional folders "OEM","ROM" and "SYS".
- Press space (or any other key) to return to the main menu.
- Select "(c) cook a rom", "(a) if you want to use the old BuildOS.exe"
- In BuildOS, press the green play button (see attached image) and wait for it to finish.
- Close BuildOS, wait until you see the message "Done!"
- Press space (or any other key) to resume the cooking process.
- After a while the HTC ROM Tool will start.
- Wait for it to finish - it will close automatically.
- After that, XVI32 is started. Don't change anything there, just close it.
- Temporary files will be deleted and you should see the message "Now flash your ROM!"
- Press any key and exit the kitchen.
- You can find your reconstructed ROM in the main kitchen folder. It's "ruu_signed.nbh". Place it in a folder together with "BlackstoneCustomRUU.exe" from subfolder "Tools" and you can flash it anytime you want.
- That's it, you're done!
Hope that helps clarify things.
Regards
K_Hismoom
k_hismoon,thanks for another explanation.i already try to cook a rom in this way several time,but every time when i press the green button,program delete temp file,then he do something with the OEM file,and then he throw me an error: external component has thrown and exception.in bould os it stops and says: error,last satus: creating shadow order file...
i reinstal .net,and problem is still here.any sugestion?
Sorry, haven't come across this problem.
Are you sure you have the right files (ruu_signed same version as your rom dump), enough free space?
Have you used the "old" BuildOS?
Can't think of anything else right now that would cause the error.
not sure about same version as my dump rom,but i am sure i have enough space.hm,i need to check now which version i have in raw files.
K_Hismoom said:
Taken from Raphael ROM thread found here http://forum.xda-developers.com/showthread.php?t=427507
This is based on the assumption that you have a 1.14.x NLD ROM!
- Download official HTC 1.14 NLD ROM for RUU_signed.nbh from http://rapidshare.com/files/182960521/Blackstone_HTC_NLD_1.14.404.3_R.ZIP (link from Blackstone Wiki).
- Extract the zip file and you have the file "RUU_BlackStone_HTC_NLD_1.14.404.3_Radio_52.49a.25.26_1.09.25.14_Ship.exe".
- Use 7-zip or another tool to extract all files from "RUU_BlackStone_HTC_NLD_1.14.404.3_Radio_52.49a.25.26_1.09.25.14_Ship.exe".
- You will have - among other files - the required "RUU_signed.nbh".
- Download the Blackstone kitchen from this thread http://forum.xda-developers.com/showthread.php?t=438456 and extract it.
- Place Part01.raw, Part02.raw from ROM dump and RUU_signed.nbh in the folder BaseROM.
- Start BlackStoneKitchen.cmd
- Select "(e) extract a rom", "(b) if you want to rebuild and cook dumped ROM into flashable ROM" and wait for extraction process to finish (Message "Now start cooking your ROM!"). You should now have additional folders "OEM","ROM" and "SYS".
- Press space (or any other key) to return to the main menu.
- Select "(c) cook a rom", "(a) if you want to use the old BuildOS.exe"
- In BuildOS, press the green play button (see attached image) and wait for it to finish.
- Close BuildOS, wait until you see the message "Done!"
- Press space (or any other key) to resume the cooking process.
- After a while the HTC ROM Tool will start.
- Wait for it to finish - it will close automatically.
- After that, XVI32 is started. Don't change anything there, just close it.
- Temporary files will be deleted and you should see the message "Now flash your ROM!"
- Press any key and exit the kitchen.
- You can find your reconstructed ROM in the main kitchen folder. It's "ruu_signed.nbh". Place it in a folder together with "BlackstoneCustomRUU.exe" from subfolder "Tools" and you can flash it anytime you want.
- That's it, you're done!
Hope that helps clarify things.
Regards
K_Hismoom
Click to expand...
Click to collapse
Hi K_Hismoom,
I will follow your instruction this evening. Later I will inform you, but anyway how the result will be
Thanks a lot for helping me
Hi, K_Hismoom
Sorry that I don´t explode for happiness, because I still have five noob-questions that makes me a little bit nervous.
It seems (so the program was saying it) everything seems to be ok.
For this advice THANK YOU SO MUCH everything was easy to understand.
What I´m still thinking is, that I have actually four raw files. I used now one and two, but the biggest file is raw three. For what is this file? Do I need it? and what of raw 00 the smallest?
If I press the Startbutton for flashing, it tells me my current version 1.14.404.3 and if I press the Update Button it shows me an update to 1.00. Is this correct? Should it not telling me the same Versionnumber (current version)?
I´m afraid to press the button "start"
A quick replay will be nice, because I don´t want that my food will be burned in the kitchen
Regards
Dude10
Hi Dude_10,
sorry for taking so long to answer.
Part00.raw is the area with IPL, SPL and Splashscreen
Part03.raw is content of your local storage
I haven't actually flashed a reconstructed ROM myself, so I cannot tell.
But I suspect that is okay, since the rom upgrade utility also does this with many cooked ROMs that after flashing display the correct version number.
Maybe someone else can answer that question?
K_Hismoom said:
Hi Dude_10,
sorry for taking so long to answer.
Part00.raw is the area with IPL, SPL and Splashscreen
Part03.raw is content of your local storage
I haven't actually flashed a reconstructed ROM myself, so I cannot tell.
But I suspect that is okay, since the rom upgrade utility also does this with many cooked ROMs that after flashing display the correct version number.
Maybe someone else can answer that question?
Click to expand...
Click to collapse
Hi K_Hismoom
I did not try it out yet. But for saving my ROM, Excellent!!
I´m so happy that I could save now my original ROM, but let me tell you something about description. The way how you discribe it and the way how wiki or other peopel discribe it, is different.
For instance: nobody write, that I have to create a folder in the base program.
(- Place Part01.raw, Part02.raw from ROM dump and RUU_signed.nbh in the folder BaseROM.) This Folder doesn´t excist, so I had to create it.
Before I´ve got always "can´t find the directory" but as soon as I create the folder, everthing just goes for it self.
Yeah !!!
As I just talking to you and I hope that I´m not disturbing you with my question. Can you tell me your opinion concerning another ROM.
I want to Flash Dutty 2,1 extrem. Is it a good stabil ROM? or is there a better one available? The best for me will be a german one but it should look also nice with the new manila, if it is possible.
Regards
Dude10
Dude10 said:
Hi K_Hismoom
I did not try it out yet. But for saving my ROM, Excellent!!
I´m so happy that I could save now my original ROM, but let me tell you something about description. The way how you discribe it and the way how wiki or other peopel discribe it, is different.
For instance: nobody write, that I have to create a folder in the base program.
(- Place Part01.raw, Part02.raw from ROM dump and RUU_signed.nbh in the folder BaseROM.) This Folder doesn´t excist, so I had to create it.
Before I´ve got always "can´t find the directory" but as soon as I create the folder, everthing just goes for it self.
Yeah !!!
As I just talking to you and I hope that I´m not disturbing you with my question. Can you tell me your opinion concerning another ROM.
I want to Flash Dutty 2,1 extrem. Is it a good stabil ROM? or is there a better one available? The best for me will be a german one but it should look also nice with the new manila, if it is possible.
Regards
Dude10
Click to expand...
Click to collapse
I have tried out several ROMs from the Blackstone forum, including the German Starbase64 and Davideucks WinMo 6.5 ROM, but Dutty's 2.1 is the ROM that I like best. It is quite fast and stable and I just love the new manila. Also if you set the manila language to German and install the expanded language file from http://forum.xda-developers.com/showthread.php?t=490844, you have at least a German manila.
But I suppose, you should try out some of those ROMs for a few days, before deciding which one you want to have on your phone permanently.
Hope that helps.
Regards
K_Hismoom
K_Hismoom said:
I have tried out several ROMs from the Blackstone forum, including the German Starbase64 and Davideucks WinMo 6.5 ROM, but Dutty's 2.1 is the ROM that I like best. It is quite fast and stable and I just love the new manila. Also if you set the manila language to German and install the expanded language file from http://forum.xda-developers.com/showthread.php?t=490844, you have at least a German manila.
But I suppose, you should try out some of those ROMs for a few days, before deciding which one you want to have on your phone permanently.
Hope that helps.
Regards
K_Hismoom
Click to expand...
Click to collapse
Hi, I will try first the Dutty Rom as you say. Actually I just want a stabil with landscape and new manila Rom and I think thats one of the best.
Do you have any problem with Internetconnection? I had before such a problem, that I can´t enter any Internet or Weather or Email connection. It told me always "can not find the remote server" but I could use the phone. So I hope this Rom doesn´t have such a "bug"
Hello
Sry for using your thread for my question...
I've dumped my Orange UK 1.19.61.1 Rom to save my ROM for warranty issues.
Wich BaseRom should I take? An Orange Baserom or an HTC. 1.14 or 1.19...
I've no Idea
Thanks
Terrorhuhn said:
Hello
Sry for using your thread for my question...
I've dumped my Orange UK 1.19.61.1 Rom to save my ROM for warranty issues.
Wich BaseRom should I take? An Orange Baserom or an HTC. 1.14 or 1.19...
I've no Idea
Thanks
Click to expand...
Click to collapse
You would just need RUU_signed.nbh extracted from an official HTC WWE 1.19 ROM, but can also use it from an Orange UK ROM, which you can find at http://rapidshare.com/files/191585731/ruu_signed.rar.html, I think (link is from the Wiki).
Dude10 said:
Hi, I will try first the Dutty Rom as you say. Actually I just want a stabil with landscape and new manila Rom and I think thats one of the best.
Do you have any problem with Internetconnection? I had before such a problem, that I can´t enter any Internet or Weather or Email connection. It told me always "can not find the remote server" but I could use the phone. So I hope this Rom doesn´t have such a "bug"
Click to expand...
Click to collapse
So far I didn't have any problems with my Internet connection, neither WiFi nor GSM/UMTS/HSDPA, but I always have to select "Best performance" when using WiFi (this is probably a problem with my WiFi router, as I had to do this on every ROM, even the stock ROM).
K_Hismoom said:
You would just need RUU_signed.nbh extracted from an official HTC WWE 1.19 ROM, but can also use it from an Orange UK ROM, which you can find at http://rapidshare.com/files/191585731/ruu_signed.rar.html, I think (link is from the Wiki).
Click to expand...
Click to collapse
Oh, thanks.
What's different if I would choose a Orange UK ROM as BaseROM?
Thanks
Terrorhuhn said:
Oh, thanks.
What's different if I would choose a Orange UK ROM as BaseROM?
Thanks
Click to expand...
Click to collapse
I'm not sure, but I think there wouldn't be any difference.
I'm gonna hijack this thread for a bit
i'm trying to dump the ROM from my Blackstone. I've got the 4 raw files, but i'm kinda confused now, since all the kitchen tutorials only mention the first two files. Seeing the sizes of the files, it makes me think - the first two files are only about 8 megs, and the other two are huge. What is taht about? Why did we make the last two files and when do we get to use them?
Also, another question, the ROM on my Blackstone comes with Sunnysoft Interwrite preinstallled - is it possible to extract it's cab from dumped rom?
Thanx!
EDIT: Whooops, possible problem here:
I was dumping ROM according to this
CMD outputs info that's similar to the one in the guide
Code:
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part00 -t
real nr of sectors: 1598 - 3.12Mbyte, 0x31f000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part01 -t
real nr of sectors: 2176 - 4.25Mbyte, 0x440000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part02 -t
real nr of sectors: 64768 - 126.50Mbyte, 0x7e80000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part03 -t
real nr of sectors: 166016 - 324.25Mbyte, 0x14440000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
CopyTFFSToFile(0x0, 0x31f000, Part00.raw)
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x440000 Part01.raw
CopyTFFSToFile(0x0, 0x440000, Part01.raw)
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x7e80000 Part02.raw
CopyTFFSToFile(0x0, 0x7e80000, Part02.raw)
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x1440000 Part03.raw
CopyTFFSToFile(0x0, 0x1440000, Part03.raw)
But the generated files are of different sizes:
Part00.raw 3,12 MB (3.272.704 bytes)
Part01.raw 4,25 MB (4.456.448 bytes)
Part02.raw 126 MB (132.644.864 bytes)
Part03.raw 20,2 MB (21.233.664 bytes)
WTF? Is this ok?
I used RUU_signed.nbh from Duttys HD 2.6 Xtreme rom.
And kitchen gives me a "RecMode.exe has encountered an error and needs to close...." error after this:
Code:
Please wait for this script to finish after you see "Done!".
Don't close it, but press enter to continue!
------------------------------------------------------------
NBSplit 2.1rc2
Using data chunk size = 0x800 and extra chunk size = 0x8
on file OS.NB
Done.
ImgfsFromNb 2.1rc2
Sector size is 0x800 bytes
ImgFs partition starts at 0x00840000 and ends at 0x079a0000
Dumping IMGFS at offset 0x00840000 (size 0x07160000)
Done!
And the same thing happened even in a virtual xp machine - clean machine, .net 3.5, sp3 and all the updates, which leads me to believe that ROM dump wasn't succesful. Any ideas?
Anyone?
WM_Rizzo said:
I'm gonna hijack this thread for a bit
i'm trying to dump the ROM from my Blackstone. I've got the 4 raw files, but i'm kinda confused now, since all the kitchen tutorials only mention the first two files. Seeing the sizes of the files, it makes me think - the first two files are only about 8 megs, and the other two are huge. What is taht about? Why did we make the last two files and when do we get to use them?
Also, another question, the ROM on my Blackstone comes with Sunnysoft Interwrite preinstallled - is it possible to extract it's cab from dumped rom?
Thanx!
EDIT: Whooops, possible problem here:
I was dumping ROM according to this
CMD outputs info that's similar to the one in the guide
Code:
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part00 -t
real nr of sectors: 1598 - 3.12Mbyte, 0x31f000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part01 -t
real nr of sectors: 2176 - 4.25Mbyte, 0x440000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part02 -t
real nr of sectors: 64768 - 126.50Mbyte, 0x7e80000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part03 -t
real nr of sectors: 166016 - 324.25Mbyte, 0x14440000
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
CopyTFFSToFile(0x0, 0x31f000, Part00.raw)
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x440000 Part01.raw
CopyTFFSToFile(0x0, 0x440000, Part01.raw)
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x7e80000 Part02.raw
CopyTFFSToFile(0x0, 0x7e80000, Part02.raw)
[C:\itsutils]pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x1440000 Part03.raw
CopyTFFSToFile(0x0, 0x1440000, Part03.raw)
But the generated files are of different sizes:
Part00.raw 3,12 MB (3.272.704 bytes)
Part01.raw 4,25 MB (4.456.448 bytes)
Part02.raw 126 MB (132.644.864 bytes)
Part03.raw 20,2 MB (21.233.664 bytes)
WTF? Is this ok?
I used RUU_signed.nbh from Duttys HD 2.6 Xtreme rom.
And kitchen gives me a "RecMode.exe has encountered an error and needs to close...." error after this:
Code:
Please wait for this script to finish after you see "Done!".
Don't close it, but press enter to continue!
------------------------------------------------------------
NBSplit 2.1rc2
Using data chunk size = 0x800 and extra chunk size = 0x8
on file OS.NB
Done.
ImgfsFromNb 2.1rc2
Sector size is 0x800 bytes
ImgFs partition starts at 0x00840000 and ends at 0x079a0000
Dumping IMGFS at offset 0x00840000 (size 0x07160000)
Done!
And the same thing happened even in a virtual xp machine - clean machine, .net 3.5, sp3 and all the updates, which leads me to believe that ROM dump wasn't succesful. Any ideas?
Click to expand...
Click to collapse
I have this problem too ;/