I've succesfully SID unlocked my Diamond and I flashed the following ROM:
QMR_RUU_Diamond_HTC_WWE_1.93.405.1_Radio_Signed_Diamond_52.29.25.12_1.00.25.05_Ship
I now want to extract the SPL and flash it from that ROM. I use this tutorial:
http://forum.xda-developers.com/showthread.php?t=335568
It's pretty simple, but the NBH file I created using HTCRT is 528K and it gives me a message that the NBH is greater than default. In the tutorial it says:
9. You should now have a NBH file that is relatively small (about 258K)
I've tried several ROMs, but with the same outcome.
I haven't flashed it yet, but I don't know what I am doing wrong?
Why are you following Kaiser instructions?
Look here:
http://forum.xda-developers.com/showpost.php?p=2460876&postcount=3
squ1zzy said:
I've succesfully SID unlocked my Diamond and I flashed the following ROM:
QMR_RUU_Diamond_HTC_WWE_1.93.405.1_Radio_Signed_Diamond_52.29.25.12_1.00.25.05_Ship
I now want to extract the SPL and flash it from that ROM. I use this tutorial:
http://forum.xda-developers.com/showthread.php?t=335568
It's pretty simple, but the NBH file I created using HTCRT is 528K and it gives me a message that the NBH is greater than default. In the tutorial it says:
9. You should now have a NBH file that is relatively small (about 258K)
I've tried several ROMs, but with the same outcome.
I haven't flashed it yet, but I don't know what I am doing wrong?
Click to expand...
Click to collapse
ROM is locked from being dumped. The kaiser tut should work isn't it?
Related
The attached utility will allow to extract .NB0 OS image from ASUS P525 "galaxy.cap" complete rom update packages, and also to update CRC on modified NB0 ROM image, to pass the flasher validity check and flash the modified ROM. Also it will allow to unpack compressed kernel partition.
The application dynamically linked to Visual C runtime libraries. They used by myriads of applications, and most likely you already have them on your system installed. If you are not (on a clean PC for example) and P525ROMTool complains about lack of needed libraries,- download and install this - http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE
For you technical people, the utility source is included too. You can see the basic layout, and that ASUS used Adler32 algorithm to calculate the checksum on ROMs (with slight modification that base sum was initialized to zero instead of one).
The basic procedure for cooking your own custom P525 rom is:
1) P525ROMTool -d galaxy.cap
This will extract the ROMGalaxy.NB0 OS-only image. For custom ROMs I recommend working with NB0 OS images only - no danger of corrupting bootloader & IPL this way.
2) prepare_imgfs ROMGalaxy.NB0 -nosplit
3) DelFile / AddFile
Iam not sure if you can truly fully rebuild the ROM and not to break anything (ROM tools were made for HTC platform, not for ASUS). So I recommend using DelFile/AddFile method at least for the start.
There are a lot of different ROM editing tools around, but I can not give you exact directions what is better and in which conditions - ASUS ROM cooking is less charted area then for HTCs.
I assume you know what you actually need to change on file basis for your ROM customization. If you dont know what I am talking about, this is not for you (read disclaimer at the end of the post, and think over it).
4) make_imgfs ROMGalaxy.NB0 -nosplit
5) P525ROMTool -s ROMGalaxy.NB0
it will ask about changed checksum. Enter "y" to update it. You can run P525"ROMTool -s ROMGalaxy.NB0" again to be sure that checksum was updated properly - it should'nt ask to change it second time.
6) Flash ROMGalaxy.NB0 via bootloader (copy it to SD card root, press "camera" fully, press reset).
Techincally, you can make the .cap file to flash via "autorun" loader, hovewer, I must warn you that .cap file will flash not only OS image, but also the IPL+bootloader. If something goes wrong, bootloader can be corrupted and device will be bricked.
If you flash ROMGalaxy.NB0, it will not flash over bootloader+IPL, so its a lot safer - if something goes wrong, you still must be able to flash emergency rom via bootloader.
Take note that any activity that involves the ROM updating is dangerous. Even if you understand everything, there is some risk. If you have only basic understanding of ROM mechanics, risk increases tenfold - you better consider before screwing up perfectly working and expensive device.
You have been warned.
Ingvarr, thanks a million time. I love yr WM5 Storage and I think I will love this tool also. I will start building my rom based on Sorg's build 6 since it does provide some very useful tools for us.
Ingvarr thank you for your cool tools.
But when I DIY my ROM, I can't make make_imgfs.exe work correctly. It returns some symbols I can't understand.
Even I run make_imgfs.exe just after finish running prepare_imgfs.exe, it returns the err.
Could you help me with this?
make_imgfs ROMGalaxy.NB0 -nosplit
NOT "nk.nba"
It writes the modified filesystem back in the original image, so it should remain the same. You dont want to mix the ASUS and HTC ROMs and then flash it to your device, trust me
I recommend you to read HTC ROM Tools instructions and forum threads and be sure you've got right how it works, before you screw something up
sir,
Bad news,it can't work with CHS ROM (ROMgalaxy.nb0) checksum error!~~~
Does it correctly verify the checksum on original ROM?
I will try to look over it, maybe I've missed something.
Btw, if you can, write down what does writes on screen _exactly_, down to the point of failure (including error message).
Ingvarr said:
Does it correctly verify the checksum on original ROM?
I will try to look over it, maybe I've missed something.
Btw, if you can, write down what does writes on screen _exactly_, down to the point of failure (including error message).
Click to expand...
Click to collapse
i have tried it too.
i updated the checksum in sorgs rom, and then i found, that the checksum from ur SW is diffrent with the original Checksum in sorgs ROM
harlemyin said:
i have tried it too.
i updated the checksum in sorgs rom, and then i found, that the checksum from ur SW is diffrent with the original Checksum in sorgs ROM
Click to expand...
Click to collapse
You mean, it claims that checksum is wrong even when you have not modified NB0 yet?
I may look over this NB0, can you host it somewhere? But better not at rapidshare, Iam already topped my limit
Ingvarr said:
You mean, it claims that checksum is wrong even when you have not modified NB0 yet?
I may look over this NB0, can you host it somewhere? But better not at rapidshare, Iam already topped my limit
Click to expand...
Click to collapse
yes
and it happens by official P525_V3320_WWE2nd too
checksum in official P525_V3320_WWE2nd is 79AB7436
ur SW changed it to EF722461----not modified NB0
u can download official P525_V3320_WWE2nd with www.asus.com or
ftp://dlsvr02.asus.com/pub/ASUS/IA/P525/P525_V3320_WWE2nd.zip
Thats odd, because I've just checked it with WWE 3.32 and at least checksum calculation defenitely works ok...
This roms are in .CAP package. Have you actually extracted .NB0 from .CAP?
I have uploaded version 1.01 - it has additional sanity checks to make sure that you try to run it on NB0 with structure it expects.
Try it on WWE 3.32 and write what the original checksum and calculated checksums will be.
sorry
our mistake
i tested ur SW with a *.nb0, which extracted with xda3nbftool.exe------*.nb0 with ipl and bootloader.
and now i find, that *.nb0 should be and must be extracted with ur P525ROMTool -d galaxy.cap,------that means *.nb0 without ipl and bootloader
everything is fine, when *.nb0 is extracted with ur P525ROMTool
i think creazy2000 just made the same mistake like me.
o
thanks a lot.
Thanks. The tool works perfectly on my P525.
Ingvarr said:
Thats odd, because I've just checked it with WWE 3.32 and at least checksum calculation defenitely works ok...
This roms are in .CAP package. Have you actually extracted .NB0 from .CAP?
I have uploaded version 1.01 - it has additional sanity checks to make sure that you try to run it on NB0 with structure it expects.
Try it on WWE 3.32 and write what the original checksum and calculated checksums will be.
Click to expand...
Click to collapse
I make a mistake, thanks!
harlemyin said:
sorry
our mistake
i tested ur SW with a *.nb0, which extracted with xda3nbftool.exe------*.nb0 with ipl and bootloader.
and now i find, that *.nb0 should be and must be extracted with ur P525ROMTool -d galaxy.cap,------that means *.nb0 without ipl and bootloader
everything is fine, when *.nb0 is extracted with ur P525ROMTool
i think creazy2000 just made the same mistake like me.
Click to expand...
Click to collapse
Oh, I know !
I make a mistake !
thanks
Is it a seperate tools that the imgfs? Need I find this tool to finish the whole things? Where can I find this tool?
P525_V3320_WWE2
I have P525_V3.29.0 WWE3
Can someone tell the difference between them it looks that the first one is newer but I am confused by the WWE which is newer
Thanks all
Night Runner said:
Is it a seperate tools that the imgfs? Need I find this tool to finish the whole things? Where can I find this tool?
Click to expand...
Click to collapse
Everything about complete process is in the first post. What is you dont understand from here?
jmfa59 said:
P525_V3320_WWE2
I have P525_V3.29.0 WWE3
Can someone tell the difference between them it looks that the first one is newer but I am confused by the WWE which is newer
Thanks all
Click to expand...
Click to collapse
WWE means "world wide english".
First is 3.32, therefore, its newer.
Ingvarr
Thanks Buddy,
can you explain WW2 and WWE3 it seems that the latter is newer but the version V3.29 is older or is ment for different country
im using a tytn and getting errore message
dows the official upgrade is for tytn or doopod ?
anyone can help ??
i try using hard sspl and still .. same
I think it may be because it is a rom for Asian networks... I got a similar error, and will have to manually import the settings for my network providor... other than that, everything else went fine...
I believe there are cabs kicking about this forum to auto setup for various providors.. I think it is trying to auto detect your vendor, and if not Asian, is returning the error
I think thats all the error is showing...
If you've downloaded one of the other cooked ROMs on this site, you should have an exe file called RUU_wrapper.exe.
Now, install WINRAR and right click on the dopod rom and choose extract and it will extract various files, one of which will be another exe file. Extract this exe file again and you should end up with a file RUU_Signed.nbh - this is th only file you'll need out of the lot.
You can delete all the other files from the dopod ROM now, just keeping the RUU_signed.nbh. Copy the RUU_wrapper.exe file into the same folder and run it and you will flash the dopod rom to your phone nicely - just make sure you're HARDSPL first!
Now, you could be even smarter at this point and use dutty's good nbhtool if you like to "unwrap" RUU_signed file and remove the IPL \ SPL (though with HARDSPL, I'm not sure this is necessary) and the Radio part if you like (and the boot splash screens if you're so inclined and then use it to wrap it all back up again.
HTH,
Smiffy.
I really don't understand what is wrong. All the roms that I create now cannot be created properly. The preconfig wont run, themes wont even apply, and when I try to reflash it with other roms, RUU says unknown version...I had to boot into bootloader to flash it. (without forcing sspl in ruu)
What the heck is happening? I'm cooking the same way i've been cooking (build OS + dutty's nbhtool) I'm getting very frustrated
Which kitchen or base ROM are you using? Need more info of exactly what you are doing!! Does this happen when you flash to official ROMs too?
I've used pandora, hypercore (they are both the same thing really). Both used to work fine, now they no longer work and both gave me the same errors "after" I flashed the rom I made. Here's the outline of the problem:
1) assuming current rom is schaps's 4.01
2) Runs RUU, auto detect fine
3) flash with the rom I made, flash completed, reboot
4) rom doesnt work properly, preconfig doesnt launch at all, tsk doesnt apply properly, and etc
5) run RUU, cant auto detect, "error, rom........."
6) boot to oli 2.10 BL, flash with "any" premade rom
7) repeats #1
The Roms I made were based on ATT's official rom, I've also used vp3g's coz most craps have already been removed.
1) run nbhextract to extract RUU
2) run nbsplit, imgfsfromnb, imgfstonb
3) toss os.nb into hypercore XIP extract, extract XIP
4) put everything into pandora's kitchen (root/ OEM folder, SYS folder, ROM [Os.nb, XIP folder]
5) remove/add stuff, rebuild .dsm if needed
6) run buildOS
7) run createbat
8) run NBtools (left "version as it is", chose hermes100, SuperCID, no ext rom/radio/spl)
9) rom created, then flashed.
I just made a basic rom with pandora. No editing done besides using the oem packages included to make it. Can someone try the rom out and tell me if you are facing the same problem? (Just a bare OS rom)
i.e. after flashing the rom, with active sync connected, RUU gives Error 244 and the only way to reflash it is get into bootloader mode. OR can RUU still work in windows after flashing it?
I need to know if there's something wrong with my bootloader (whether i need to reflash it) or somehow somewhere the kitchen tools that I've been using suddenly just screwed up any help is greatly appreciated
*I only have problems with the roms that I recently created, again, they used to work fine, I have no problems flashing other people's roms*
http://www.sendspace.com/file/3ycn37
I'd delete your HyperCore and Pandora folders and re-extract them from the original downloads to be honest. Whilst I can't think of what might cause the Error 244, I've found myself that after mixing this and that between HyperCore, Pandora and any of the zillions of 'working' folders I've got kicking about I do eventualy end up overwriting something somewhere that needs to be consistent between builds and knacker myself.
I have managed to solve the problem after redumping everything via the original tools. However, I'm still using hypercore kitchen to extract XIP. I no longer use dutty's NBHtool to create the image, I'm not sure if it contributes to the problem, but I'm having great results with nbhgen.
When I'm done cooking my rom, I'll document down everything I know and create my own kitchen.
Hi there.
The HTC Diamond has recently been released in Canada under Rogers and I'd like to backup the stock rogers ROM for safe keeping (and sharing).
I've been trying to find instructions on how to do this and found:
http://forum.xda-developers.com/showpost.php?p=2370527
Which is great, but after creating the RAW rom dumps, how do I flash the ROM backup back to the device?
Thanks!
noob edit: I apologize if this has been covered in the past. I have tried searching but surprisingly, I haven't found anything...
In my continuing research, I found this tool: HTC ROM Tool
http://forum.xda-developers.com/showthread.php?t=311909
I recall seeing this on a diamond wiki page. Is there an updated version that has Diamond rom support?
Thanks,
No one here can help a lonely noob trying to learn? Is what I'm asking even possible? Thanks!
I'm a noob too, but what you do is, you get one of the kitchens, put the extracted files in baserom (or similar folder) extract all sys and OEM packages, then adjust it as you wish (by deleting), and create new rom with HTC rom tool, and then you flash it back.
I'm beginner myself, but this should work.
Make sure you have all Visual C++ and NET. packages installed on your PC, and try to install the kitchen directly on C:/ drive. It helps.
I got the Rogers Diamond last night as well. I extracted the Part0x.raw files (as per Pof's instructions), then used a kitchen to extract the SYS/OEM from Part02.raw and the XIP from Part01.raw.
I haven't cooked them yet to test, but will try tonight hopefully and maybe post it if I'm successful. I got a brick when I tried making the OS ROM out of an existing ROM, as described in the Hermes and Elf DumpRom wikis. So I guess cooking it instead is the safest way to go.
Also remember to flash the unsigned Hard SPL 1.93 by OliNex after you back up the SPL.
hello,
one possible solution is to use a kitchen. for example:
http://forum.xda-developers.com/showthread.php?t=452184
put your raw's to BASEROM-folder.
put your original provider-rom in the same folder.
start !BEGIN
now you can select between two EXTRACT-MODEs.
first mode is extract ruu_signed.nbh only.
the second is for raw's with ruu_signed.nbh.
USE THE SECOND and wait until its finished.
now you can change or tweaks something - if you want.
follow the instructions and than you have your flashable rom.
BUT THE BACKUP/COPY - ROM is not for 100% the same like on your device.
for example: you have installed some programs with serial-key or activating by internet.
after restoring you have to enter/activating again.
some files will be changed back by original rom-files like the registry.
your personilized startmenu goes away - tweakees will lost.
the reult:
you will be angry.
after some experimantells now i used a combination of own cooked rom (with tweeks and buyed programs) and a backup-file which is not so big in MB.
okokur
I have a cid unlocked artemis,with wm6.0 on it.
I've tried to install more than 10 different rom's(WM 6.1 and 6.5)and i always get either of the 2 following errors:
ERROR 260,and corrupted rom.
Any thoughts?
BTW,i use winvista,and when i flash my asusP535 everything works fine.
download the latest uspl,extract it to a folder,copy the .nbh file from the rom folder to the extracted uspl folder....run the uspl and watch the show
additionally you should go to the wiki or search the forums about vista flashing