dump rom problem - XPERIA X1 Q&A, Help & Troubleshooting

hi all
it's already few days (and nights) that I'm looking for how to dump my french rom and I managed to dump the raw parts O 1 2 3 following all the tutorials with the tricky memory adresses but I cannot manage to rebuild it then
I extract it throught the kitchen after havin put the parts and the ruu signed in the baseRom folder but when i try to cook it with the builOS program
I indicate the ROM folder but there is always the file OS.nb missing
I have only a folder XIP with a file called boot.rgu inside the ROM folder
I had a look in the whole kovskykitchen folder, there is no OS.nb, just one called OO_SPL.nb created after extraction in the base ROM folder.
did I miss a trick ? sorry if so but I didn't find any help in the threads...
thanks guys

bill'o said:
I had a look in the whole kovskykitchen folder, there is no OS_SPL.nb, just one called OO_SPL.nb created after extraction in the base ROM folder.
thanks guys
Click to expand...
Click to collapse
Have you tried copying 00_spl.nb to OS_SPL.nb and then re-building ?

sorry the file needed is called OS.nb and not OS_SPL.nb
yes I did it, rename the file 00_SPL.nb by OS.nb and put it the ROM folder,
then I indicated it into the buildOS soft package tool, it looks like it is workin fine and finish sayin work successful then I close it,
the dos window takes the relay but displays an error 'input file OS.nb.payload has no valid boot sector aborting...'
that's rude right ;°) ?

bill'o said:
hi all
it's already few days (and nights) that I'm looking for how to dump my french rom and I managed to dump the raw parts O 1 2 3 following all the tutorials with the tricky memory adresses but I cannot manage to rebuild it then
I extract it throught the kitchen after havin put the parts and the ruu signed in the baseRom folder but when i try to cook it with the builOS program
I indicate the ROM folder but there is always the file OS.nb missing
I have only a folder XIP with a file called boot.rgu inside the ROM folder
I had a look in the whole kovskykitchen folder, there is no OS.nb, just one called OO_SPL.nb created after extraction in the base ROM folder.
did I miss a trick ? sorry if so but I didn't find any help in the threads...
thanks guys
Click to expand...
Click to collapse
It's all in here: http://forum.xda-developers.com/showthread.php?t=446691

no, this still doesnt fix the Could not find the file 'C:\KovskyKitchen\ROM\ON.NB'
issue??

Related

initflashfiles.dat missing?

Hey!
I'm new to this stuff, don't be to hard to me!
What i have done yet:
1) Downloaded different Roms and created a dump of it, so i can compare them.
2) After this i, want to great my own Rom based of the German Qtek Rom.
For Comparison i took the "RIsidoro"-Rom.
i created of both the dump folder of the OS.
Now i want to add to the Qtek Rom for example CF2, Minimo and TotalCommander.
What i think i have to do:
-Copy the needed Files to the dump folder
-Edit the initflashfiles.dat
-Create a CAB in the Extended Rom to make the regestry entrys
My Problem is, i cant find a initflashfiles.dat in the Qtek Rom!
What i have done wrong?
Sorry for my bad english, i hope you can understand my problem
Thanks for your reply,
MAPero
Sry guys for post again.
But i haven't found any thing in this forum what could help me!
Everywhere is said, to edit initflashfiles.dat
But there is no initflashfiles.dat.
I have found a second way i think,
Normal rom edit way: add the contents of the exported .reg files to default.rgu, making sure that you leave a blank line on the end, copy all the files to the \dump directory and edit initflashfiles.dat to copy them to the right directory on first boot. (remeber to remove the first two bytes - ff fe with a hex editor). then build your rom!
Bepe's rom edit way: create a folder '[your software name]' in the oem folder and get yourself a guid from here http://kruithof.xs4all.nl/uuid/uuidgen. create a blank file called '[yourguid].dsm and a blank text file called '[yourguid].rgu'. add the contents of the exported .reg files to '[yourguid].rgu' and make sure you save as unicode. then copy all the other files to the folder and create a blank unicode txt file called 'initflashfiles.txt' and use it like initflashfiles.dat in the first method except there is no need to hex edit out the first two bytes. then build your rom!
Click to expand...
Click to collapse
But i am not sure, what is meant by oem folder!?!? is the dump folder meant?

search a way to extract the original os.nb ....

hi members,
i search for 2 hours and cannot find a way to got my original os.nb files. i like to make a rom of my original firmware bevor i flash the phone with another version.
please help me in this case or is not importend what file i take for os.nb?
if i start the KovskyKitchen there is only standing i need the part1 and 2 and one nb file, but the script like to copy files and this does not exist. in the ervius package tool+buildos you can not open the folder, without this files.
please give ma a hint.
kind regards
ju
Solution: use any rom image from here for got the missing os.nb and rename it to RUU_Signed.nbh. it must only a complete nbh - rom.

Extract files from rom

Hi I wonder how and what tool can I use to extract files from a dumped/cooked rom
The files I need is shellres.dll.041D.mui and shellres.192.dll and shellres.dll
Would be very kind of you guys!
Kevin_seymer said:
Hi I wonder how and what tool can I use to extract files from a dumped/cooked rom
The files I need is shellres.dll.041D.mui and shellres.192.dll and shellres.192.dll
Would be very kind of you guys!
Click to expand...
Click to collapse
which rom would you like, easiest way is via the kitchen and e to extract
no shellres.41d here but can give you the other (youve two the same) and shellresapps
fards said:
which rom would you like, easiest way is via the kitchen and e to extract
no shellres.41d here but can give you the other (youve two the same) and shellresapps
Click to expand...
Click to collapse
thanks, I meant Shellres.dll, anybody have the shellres.041d its in the swe rom.
And again thanks for the file fards!
have a play with the kitchen, stick your ruu_signed.nbh from the swe rom into the baserom folder, startup the kitchen.cmd and press "e" it really is very simple.
the files from the rom will be extracted after some time into oem rom sys folders if they arent then theyll be in the temp folder, its quicker than waiting for someone else to get it for you, otherwise point me to a swe rom file and ill extract them, but it may not be tonight as ive got probs @ home to sort out
fards said:
have a play with the kitchen, stick your ruu_signed.nbh from the swe rom into the baserom folder, startup the kitchen.cmd and press "e" it really is very simple.
the files from the rom will be extracted after some time into oem rom sys folders if they arent then theyll be in the temp folder, its quicker than waiting for someone else to get it for you, otherwise point me to a swe rom file and ill extract them, but it may not be tonight as ive got probs @ home to sort out
Click to expand...
Click to collapse
Oh I hope everything goes well for you home my friend, when you have the time and will, can you extract the files in this SWE rom http://www.megaupload.com/?d=B0A16UP3
THANKS!
Here you go mate, sorry I forgot last night..

[Que Made dump - got 4 .raw files - no .nbh or .nb - What's Next?

Hello fellow HTC-ers!
I've made a dump of my Blackstone (using pdocread -l), all seems fine. Got 4 .raw files. Now, Dr. Jay in his movie says to "get" a .nbh file. From where?? I'm confused. Read several postings about IMGFS, but those didn't help me to get to the next step.
To be precise : I want to have a flashable backup of my original (NLD : Original NLD ROM - 1.14.404.3_Radio_52.49a.25.26_1.09.25.14) ROM before I install HSPL and start cooking my own. Preferably, I want to create this original flashable ROM myself, just to get familiar with the tools and the process.
Could anyone tell me where to go from here? (4 .raw files)
Thanks.
Grt., K.
ps. when I search this forum for ".nb" or "nbh" I get no hits.. Does the searchkey have to consist of a minimum number of characters?
kkoenen said:
Hello fellow HTC-ers!
I've made a dump of my Blackstone (using pdocread -l), all seems fine. Got 4 .raw files. Now, Dr. Jay in his movie says to "get" a .nbh file. From where?? I'm confused. Read several postings about IMGFS, but those didn't help me to get to the next step.
I want to create this original flashable ROM myself, just to get familiar with the tools and the process.
Could anyone tell me where to go from here? (4 .raw files)
ps. when I search this forum for ".nb" or "nbh" I get no hits.. Does the searchkey have to consist of a minimum number of characters?
Click to expand...
Click to collapse
Please read and use this very usefull tool from here: http://forum.xda-developers.com/showthread.php?t=438456
You need to download an official stock rom. Copy your part1 and part2 raw files and the RUU_signed.nbh (from the downloaded and extracted stock rom) into the baserom folder. You need to launch the BlackStoneKitchen.cmd from the rom kitchen folder and follow the on-screen instuctions: extract the content (push e then b), then re-cook it (push c then a).
thanks, tsummer.. I've downloaded the kitchen and the original stock ROM's a few weeks ago. The stock package consisted of 4 .rar files, extracting to one .exe file. No .nbh! So, where should I get it from? If I start the .exe, an application pops up, wanting to flash my device.. The thread you posted does not shed any light on where to obtain or how to extract the right .nbh file..
I really read in to this stuff, but somehow the whole "getting the .nbh-file" remains foggy to me. Please advice.
/edit : I've got a "RUU_Signed.nbh" from a zip called "Restore_Stock_SPL_114_2.zip". Is that the right one? It's 513 KB (526.193 bytes) big. Question remains : How should I extract the existing .nbh from my running ROM / Device?
Found it!
To get the .NBH file from a Stock ROM .exe file, right click the .EXE and select "Extract Files..." from your rar-quickmenu!
Wow.. took me "only" 8 hours to figure this one out...
*shame* dr.Jay does explain it in his movie "rebuilding".. ouch.
kkoenen said:
thanks, tsummer.. I've downloaded the kitchen and the original stock ROM's a few weeks ago. The stock package consisted of 4 .rar files, extracting to one .exe file. No .nbh! So, where should I get it from?
Click to expand...
Click to collapse
Open the exe with winrar and you will see the RUU_signed.nbh (this is the correct nbh). Copy this nbh into the baserom folder and use the BlackstoneKitchen.cmd.
[/QUOTE]/edit : I've got a "RUU_Signed.nbh" from a zip called "Restore_Stock_SPL_114_2.zip". Is that the right one? It's 513 KB (526.193 bytes) big. Question remains : How should I extract the existing .nbh from my running ROM / Device?[/QUOTE]
The SPL in an another issue.
I was just wondering if I wanted to re-cook a rom such as Dutty's or L26 to add one extra package is that the same procedure as above assuming I dump their rom from my device?

how to extract cabs from NBH file

im trying to extract some cabs from a NHB file...can anyone guide me in the direction on how to do this
I'd say the best way to do that is to extract the ROM into regular files.
You need to download a bunch of EXE files: NBHextract.exe, NBSplit.exe, ImgfsToDump.exe, and ImgfsFromNB.exe
You need to extract the NBH with NBHextract.exe. This will yield a .nb file
You need to use NBSplit (use the "-kaiser" parameter) to split the .nb into a .nb.payload file and a .nb.extra file
You then need to use ImgfsFromNB on the .nb.payload file, which will create a file called imgfs.bin
Use ImgfsToDump on imgfs.bin, which will create a folder called "Dump". When it finishes, All of the ROM's files will be there. You will probably want to search the folder for .cab files, since there are thousands of files in the average ROM dump.
That should do the job for you.
Or just use Visual Kitchen to Dump the ROM, and then rebuild the OEMs to CABs.
Dave
could u walk me through the visual kitchen program?
Hmmm look for htcRIE_0.4.0.47 and extract what you want.
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
little help will might ...
You do not search for it at you WM ROM,
Search at the site...
Anyway i have been find it for you !
A newer version of htcRIE, enjoy!
michealmyers said:
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
Click to expand...
Click to collapse
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
michealmyers said:
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
Click to expand...
Click to collapse
With Visual Kitchen, just click on the Dump button at the bottom - and then browse to the NBH file .
Dave
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
michealmyers said:
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
Click to expand...
Click to collapse
Yeah, you have to rebuild the EXT packages to CAB's I don't know if there is a tool for that actually. Might be better dumping it the Dave (TyTNII) way, that will give you OEM's. There are tools for OEM 2 CAB.
Jason8 is working on a tool to convert all 3 all ways IIRC.
Dave
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
michealmyers said:
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
Click to expand...
Click to collapse
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
DaveTheTytnIIGuy said:
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
Click to expand...
Click to collapse
that would be so helpful
Alright, I fixed all the bugs in it (it was still in progress) and added some new features I had meant to add for a while, such as renaming the processed files by date processed (though you probably won't need them if you're only extracting one ROM). Hit [WINDOWS KEY] and R on your keyboard at the same time to open the Windows Run dialog, and type "%USERPROFILE%" without the quotes. Simply unzip the file and drag the folder called "Flashing" in the user folder (it's vital to have the Flashing folder in the correct spot. Otherwise, the entire script will fail). Place the NBH file you want to extract in the NBHDUMP folder (in the Rhodium folder, which is in the Flashing folder), and go to the IMGFS folder (in the Rhodium folder, which is in the Flashing folder). Now, run RhodiumRomDump.bat and the dump should commence, and a folder with your dump should appear in the same directory.
If anything should go wrong, please tell me so I can try to fix it.
EDIT: Please redownload, all issues I could find are fixed in this version. If you get errors about needing MSVCr71.DLL with this version, google is your friend.
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
michealmyers said:
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
Click to expand...
Click to collapse
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
michealmyers said:
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
Click to expand...
Click to collapse
Try downloading cabtools V 0.3 and use pkg2cab to build the package back into a .cab file. I've never done it myself, but this looks like what you want.
DaveTheTytnIIGuy said:
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
Click to expand...
Click to collapse
This is What i got....where the "and" and "settings" folder apear is "untitled2.zip"

Categories

Resources