Flash RAPH with .nb0 image ... How?? - Touch Pro, Fuze ROM Development

Greetings Team,
I want to flash the Raph device Touch Pro with .nb0 image...what should i do? can i convert it to nbh? does the kitchen can help?
Thanks

nbsplit the .nb0 with -kaiser param, check the extra data to make sure it's proper, if it is then it's already striped to work on our NAND, rename to os.nb and add it to an nbh using one of the nbh generators that works for our raph
if it's not striped properly for the raph you need to nbsplit it, then nbmerge with -kaiser param first

nbsplit & nbh Generators!
Da_G said:
nbsplit the .nb0 with -kaiser param, check the extra data to make sure it's proper, if it is then it's already striped to work on our NAND, rename to os.nb and add it to an nbh using one of the nbh generators that works for our raph
if it's not striped properly for the raph you need to nbsplit it, then nbmerge with -kaiser param first
Click to expand...
Click to collapse
Thank you very much dear actually i am not an expert to this level
The image is specifically for Raph so does this mean its stripped properly?
Second, what and where can i find about nbsplit? and what is -kaiser program?
Regards
Shamshoun!

Guys!
I am still seeking help! Can you please??
Thanks

shamshoun said:
Guys!
I am still seeking help! Can you please??
Thanks
Click to expand...
Click to collapse
If you didn't understand Da_G's previous post, you should probably stick to cooking a ROM in a prebuilt kitchen or flashing a normal (ie nbh) ROM
Alternatively, try searching for "nbsplit" and trying other things
Also, why do you have a nb0 anyway?

Related

What does it do with the raw files of the dumped ROM??

I have begged my friend to dump the HK local ROM (from 838pro) for me. I have a Taiwanese CHT9000. After reading the previous articles, it seems that the files in my hand (3 raw files) cannot flash the ROM into my CHT9000. Is that correct? So, what's the purpose of dumping the ROM?
Sorry...I am the beginner here.
http://wiki.xda-developers.com/index.php?pagename=Hermes_UpgradeFAQ
Is it possible extract a ROM from a device and convert it to a flashable ROM? (to have a Backup or to flash it on another device)
Short answer: No, it is not possible.
Long answer: A ROM consists of 7 parts:
1. Extended ROM
2. OS Image
3. IPL (part of bootloader)
4. SPL (part of bootloader)
5. Splash screen
6. HTC Logo (normally uses the same image as the splash screen)
7. GSM radio code
You can dump the original rom, but only the things contained in the FLASH will be dumped, this does not include the IPL, SPL, splash and radio parts, so its unuseful for flashing it back.
Theoretically: if you would have the private keys for one of the 3 certificates stored in the bootloader, used to verify .nbh files, you would be able to create your own .nbh file, and flash it.
Click to expand...
Click to collapse
Hi pof,
Yes. I have read that. So, what's the answer? What does those raw files do? What's the purpose of getting the FLASH dumped? For development?
I used them mainly to see diffs betwen roms / vendors OS bundle and extract files from ROM. You can make a modified OS image out of a dumped OS rom, so when we will be able to flash our own code (see SD-image flashing on the wiki) you can delete unuseful files (help, images...) and add programs directly to the rom... but there's a lot of work to do until we reach that, and very few people can help in the research
Hi
I have another problem. I have dumped my MDA Vario II German ROM and extracted the Part02.raw.
If I try to use the extracted .cab files, the installation fails. Even I can't open the .cabs with Winrar.The files are damaged.
I've tested it with an other Part02.raw from the Developers FTP with the same result.
What's wrong ?
It semms, that the ROM dump ist useless.
Even, you can't use the midi and wave files.Also bmp and jpg files have the same problem.
Couriosity is, that some files work and most not.
I think it's the same problem with other parts of the romdump.
Hey guys
I dumped the black2.5 rom, hoping to make some modifications to the unlock app. Now I have a .raw image, but I am a little unsure as to reading it. I downloaded duttys koch, but I dont think that was the right approach. Im not seeing anything on the wiki, and my searching has brought me here. Can anyone point me in the right direction? Thanks.
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
pof said:
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
Click to expand...
Click to collapse
Hopefully a little humor won't get me in trouble, but with dutty's koch, tadzio's tool and bepe's package - you should have everything you need
@pof thanks a bunch!
@todd ahhhh yeeaaahh... <70's pr0n music.wav>

NBH Generator

just thought I'd bring this to the attention of the Hermes people;
you can generate custom NBH files from the extracted .nb files yourself with a tool by bot called NBHGen - currently it's a sticky in the trinity forum.
http://forum.xda-developers.com/showthread.php?t=294046
as a note; before you generate the NBH, take the TRIN100 and substitute it for HERM100.
also, delete out any files you don't want to include in the NBH and you're done!
That should work nicely for producing radio roms in nbh for use with sspl...
Sleuth255 said:
That should work nicely for producing radio roms in nbh for use with sspl...
Click to expand...
Click to collapse
indeed, I've uploaded a Radio ROM to the wiki which I have used tonight since I needed to "retail" my PDA, it's a packaged file, and it works... also I made a few modifications to the updater to customise it somewhat for our new method of flashing, just to help the noobies.
it's the 1.06.04 radio.
Just an update; something Pof might like to do: I replaced EnterBL.exe with SSPL-HERM.exe (renamed it)... if you have your unlocker, you could very easily integrate it with this, obviously they need to tap "Yes" on their PDA to run the bootloader, but I've modified the updater to provide instructions... so you might like to check it out
The modified updater is here: ftp://xda:[email protected]/Uploads/Hermes/ModifiedRUUUpdater.rar
does anyone know if you can flash a non-SuperCID device with a generated nbh if you use it in tandem with SSPL?
I generated an NBH with OS,GSM,ExtROM and SplashScreens with the ORANG003 ID bu the flash failed, any ideas why?
SPECIAL NOTICE
If you want to include an ExtROM, change the 900 to 700 or you will brick your hermes (note that you *CAN* recover very easily from this... but it's better not to need to)
Sleuth255 said:
That should work nicely for producing radio roms in nbh for use with sspl...
Click to expand...
Click to collapse
THIS WORKS GREAT.
Here are Radio ROMs:
1.27 http://uploadingit.com/files/8194/NBH Radio Only 1.27.00.00.zip
1.33 http://uploadingit.com/files/8194/NBH Radio Only 1.33.31.00.zip
1.34 http://uploadingit.com/files/8194/NBH Radio Only 1.34.00.10.zip
Olipro said:
does anyone know if you can flash a non-SuperCID device with a generated nbh if you use it in tandem with SSPL?
I generated an NBH with OS,GSM,ExtROM and SplashScreens with the ORANG003 ID bu the flash failed, any ideas why?
Click to expand...
Click to collapse
Is there a way to make a nb file from an extracted custom rom in order to use this to make the complete nbh?

Cooking my own ROM..any smart people here?

Hi folks!
I've got a few questions..
Dont burn me down with *search wiki* TRUST ME, I DID!..I didn't even want to start a thread.
I use "Der Hermes Rom Koch v0.99.6.1* It works great! *but it doesnt open (for example) 04_ExtROM.nb, I get the error; "...Critical Error: Couldn't create imgfs_raw_data.bin"
But what I wanted to know is;
#1 How can I make an extended rom .nb (with my own files (.CAB's))
#2 And when I want to edit an OS.nb, how do I know what the normal (os wm6) files are and how do I know what file's to remove that are added in the OS.nb, by another person.
*hope you understand my questions
*I really used search!!!!
Bram87 said:
#1 How can I make an extended rom .nb (with my own files (.CAB's))
Click to expand...
Click to collapse
At the moment there is no "autmatic" tool to create a ExtROM nb file, you can put what you want on your unlocked extROM folder and then use rbmc command from bootloader to dump the ExtROM, capture the output and reconstruc it with xxd (unix tool), but this is a very manual process and a Pain-in-the-Ass(tm). HOWEVER AnDim announced he'll release writing support for his ExtROM tool soon, see here:
http://forum.xda-developers.com/showthread.php?t=303049
Bram87 said:
#2 And when I want to edit an OS.nb, how do I know what the normal (os wm6) files are and how do I know what file's to remove that are added in the OS.nb, by another person.
Click to expand...
Click to collapse
There are several methods to do this, probably someone with more experience than me can tell u more clever methods, for a simple one, you can use bepe's package tool, and all that is not converted to a RK package means has been manually added to the rom by the person who did it.
pof said:
At the moment there is no "autmatic" tool to create a ExtROM nb file, you can put what you want on your unlocked extROM folder and then use rbmc command from bootloader to dump the ExtROM, capture the output and reconstruc it with xxd (unix tool), but this is a very manual process and a Pain-in-the-Ass(tm). HOWEVER AnDim announced he'll release writing support for his ExtROM tool soon, see here:
http://forum.xda-developers.com/showthread.php?t=303049
There are several methods to do this, probably someone with more experience than me can tell u more clever methods, for a simple one, you can use bepe's package tool, and all that is not converted to a RK package means has been manually added to the rom by the person who did it.
Click to expand...
Click to collapse
I learn more every day!.. many thx!

ROM Cooking Information For Gene (P3400 / D600)

Tools I have tried so far to cook a personalised ROM for my Gene: (Authors name mentioned in green)
Tool to dump OS.nb and ExtROM.nb directly from Gene to SD card - Attached. Usage information here (Orefkov)
Tool to edit registry (default and user rgu files) for Gene - In this forum here (Orefkov)
HyperCore Kitchen from Anichillus (Includes the PKGTool, IMFG Tools and BuilOS) Device & Settings txt files for HyperCore to cook for Gene are attached here (Anichillus)
MSFlshTool from Scoter Kitchen for extracting the XIP out of OS.nb (procedure) (Scoter Kitchen)
Tool for extracting XIP out of OS.nb properly with procedures here (Anichillus)
XIPTool for dumping the extract .bin file and XIPPort tool for porting the core - Attached (Bepe)
Tools for relocating modules and files in XIP found here (Misar)
BuildOS tool from Kaiser Kitchen (Its got package tool and porting tool built-in) (Alex)
BenThon's MSCEInf and Ervius Package Creator to the for creating OEM Packages out of Cabs. Tutorial refered to creating the packages is here (Ervius & BenThon)
HTC ROM Tools for creating final .nbh file - Attached (Dutty)
FlashBootSplash tool for creating first splash screens - Attached. Usage information here (Vukile)
TFAT Image Editor for editing ExtROM (author unknown)
HSPL for Gene to be able to flash custom ROMs here - (procedure) (Olipro)
Excellent guidance for upgrading Gene ROM by Mobix here (Mobix)
I know there are a lot many other files for editing the rgu files and creating hv files but I didnt try them. I dumped the ROM successfully and still learning to delete or add packages. Although I am not saying that I successfully flashed my Gene with the ROM I cooked, but learning never stops till someone expert comes along to explain things and to guide us cooking wannabes to a nice kitchen and a nice personalised ROM Your suggestions and guidance and advices are all more than welcomed here
The post below is where I am going to post the packages I create and the one below that is where I am going to put up the problems I face so no one else will repeat and brick their phones
Also attached the original Gene RUU, just in case
I did my part of dumping the OS.nb in HyperCore as mentioned in anichillus's thread here. Then I used the package tool to make packages from the dump and transfer the SYS and OEM folder to Build. I haven't yet mastered the art of adding or deleting the packages here but I certainly deleted the useless images and theme files which eats up space. Post that I did the BuildOS which created the OS-New.nb very nicely. Used HTCrT tool to create the new RUU_Signed.nbh with the OS and ExtRom. While flashing the RUU showed "Flash Write Error" at about 99%. Need guidance after or prior to that, although will not stop trying and will keep posting the progress so far here
OEM Packages created by me
(A) OEM Packages created by me with Alex's procedures:
DciNoBar
FTouchFlo_V1_4_1
FTouchFloConfig_V0_9
HomePluginWM6
LG_Today_Buttons-ENG
PCMKeyboardEN-0_13
Schaps_AdvancedConfig_v2_1_0_0
SMSDRFixWM5
Spacer2_ARM
DOWNLOAD Package A
Problems I have faced so far
When I tried to recreate the hive files (default and user) Problem was faced in default.hv. Attached CMD screen, default.rgu and boot.rgu file - Solution: Found by Orefkov here
After I tried to flash my Gene with my custom cooked ROM, it left me with a blank phone. Although I passed the 1st splash screen then it was blank - Solution: Found by Anichillus here
Thanks to following experts for guiding me and lending a helping hand
Anichillus, Villaboy25, Nirvana1981, Orefkov, C_Shekhar
@ammet .. from where do we get OS.nb file ?? all i have is the WM6 .nbh file.
mobix said:
@ammet .. from where do we get OS.nb file ?? all i have is the WM6 .nbh file.
Click to expand...
Click to collapse
updated the first thread on first point sorry, forgot to add in first place
Error at 99% of flashing - dont use Tadzio imgfs tools, its make smaller nb file, and its not work on gene. Use mamaich's imgfs tools.
orefkov said:
Error at 99% of flashing - dont use Tadzio imgfs tools, its make smaller nb file, and its not work on gene. Use mamaich's imgfs tools.
Click to expand...
Click to collapse
that is great inputs my friend.. can u be kind enough to also post the link to these tools? please.. it will be easier to arrange for all readers
@orefkov
did your gene comeback?
did it die?
Work with registry.
Some key's names in gene registry have '\' (slash) symbol in it.
Rgucomp dont work with this. You need replace '\' in key's names on '\\'.
I write simple script for it.
try to make the chs rom ver.
but need your help.
nirvana1981 said:
@orefkov
did your gene comeback?
did it die?
Click to expand...
Click to collapse
My old gene is die, but Im got money back and bay new gene.
guys.. i request you all to post your inputs as simple as possible so every noob can also understand your expert inputs u guys are cool
nirvana: what is chm rom?
orefkov: what does the regedit do and what should be edited exactly?
did you try to enlarge the rom , del the extrom ? it's unuseful.
orefkov said:
Work with registry.
Some key's names in gene registry have '\' (slash) symbol in it.
Rgucomp dont work with this. You need replace '\' in key's names on '\\'.
I write simple script for it.
Click to expand...
Click to collapse
did u check my third post for the solution that is not yet found? can u guide us all on that problem?
can use it ,and make extrom work. got 10m free.
nirvana1981 said:
can use it ,and make extrom work. got 10m free.
Click to expand...
Click to collapse
brother... please tell us all what u guys talking about also how do we also claim that extra space and did u reply to the pm i sent? please
ababrekar said:
did u check my third post for the solution that is not yet found? can u guide us all on that problem?
Click to expand...
Click to collapse
Just download this archive, and read readme.txt in it.
orefkov said:
Just download this archive, and read readme.txt in it.
Click to expand...
Click to collapse
i did download ur archieve... saw the readme.. so should i just run both batch files without editing anything? i dont need to edit anything right?
by the way.. updated the first post with the archieve, it will be easier for others to follow
after fighting for few hours and numerous changes i was able to complete the first step, of getting OS dump using Hypercore Kitchen. Now it seems I'll have to redo some part again tonite !
mobix said:
after fighting for few hours and numerous changes i was able to complete the first step, of getting OS dump using Hypercore Kitchen. Now it seems I'll have to redo some part again tonite !
Click to expand...
Click to collapse
orefkov has posted a reply here in above post... check it out http://forum.xda-developers.com/showpost.php?p=1963703&postcount=6

Understanding the structure of ROM files

Looking for some info on how rom files are structured and how manipulte them
I have .nb0 file that I want to flash but I'm not sure what else is in it other than the OS. How do I get this file into a format I can flash ?
spicer said:
Looking for some info on how rom files are structured and how manipulte them
I have .nb0 file that I want to flash but I'm not sure what else is in it other than the OS. How do I get this file into a format I can flash ?
Click to expand...
Click to collapse
Some ktichens will allow you to convert OS.nb into a bootable ROM. There are also some programs that will let you do it. You can try my kitchen, it is pretty straight forward and read through it carefully and you shouldn't have a problem. Kink to kitchen is in my sig.
At0mAng said:
Some ktichens will allow you to convert OS.nb into a bootable ROM. There are also some programs that will let you do it. You can try my kitchen, it is pretty straight forward and read through it carefully and you shouldn't have a problem. Kink to kitchen is in my sig.
Click to expand...
Click to collapse
Thanks! I'll give it a shot. Will this help me figure out whats in cluded in the nb0 file?
Have a look at this thread ...
http://forum.xda-developers.com/showthread.php?t=490787
it provides some info on what's in the ROM and should easily compliment At0mAng's kitchen.
Cheers,
Good info thnx.
Question
When I run option 7->3
( Make a Bootable ROM from OS.nb files -> HTC ROM Tool for Touch Pro ROM)
the program just bails on me. Any idea why? os.nb is there. i can do 7->2 and it works fine but but I have a touch pro (option 3).
also how do I find out what is in a .nb0 file?

Categories

Resources