PDA

View Full Version : Little Help for First Time Cooker!


Whiterat
14-04-2007, 11:58 PM
Hi There,

Ive been admiring the work of many here for a very long time.
I have owned a Blue Angel for about 18 months and a wizard since January.

The wizard has been flashed around 7 times in 4 weeks lol which is quite a bit for an HTC noob like me.

I have tried Orwells Rom (very stable for me) but then decided to upgrade to .mUn.'s rom as it was a newer version.

Unfortunately it wasnt quite as vanilla as I like.
Vanilla == No reg tweaks, No apps at all and no damned Cyberon!

Everytime I try to build myself a rom (tried Molski's kit and NotTooSmart's) I get a problem.

Dump decrypted NBA with Typhoon Tools
prepare_imgfs (with nosplit)
viewimgfs
hv > rgu
Added REGEDIT4 to the top line, saved as unicode, did everything correct as far as I know.
then back to hv's (yep right size, 750kb ish)
Then put it all back together. (incl the removal of bytes form initflashfiles.dat back to the first ;)

1st Time with Molski's Kit = Booted fine, but would never load OS after a softreset
(few more attempts with the same kinda thing - failed :( )
Last time with NTS's kit = Stuck on the splash the IPL/SPL and would go no further.

Sorry for my ignorance, but what have I missed!
I hear about XIP sections and what have you, means very little to me!

I just want to build myself a rom on which I can mess around with :'(

Thanks Folks,
-Whiterat

jwzg
15-04-2007, 04:04 AM
When you remove the bytes from the front of the initfileflashes.dat file, what are you removing? It should just the FF, FE. Also, make sure you have English set in your regional and language options under the advanced tab.

If that fails, you may have a corrupt nk.nbf, since you've had BOTH kitchens fail. I would download a new ROM copy, dump and immediately rebuild and flash just to make sure you are properly going through that process. Then make one change at a time. It's time consuming I know, but you'll be wiser for the experience.

Peace,
JB

Whiterat
15-04-2007, 01:56 PM
jwzg:
Thanks for taking the time to reply.
initflashfiles.dat should start with a ; (Since ; is used to remark lines) so I just remove back to that.

With regards to setting English, where abouts is the advanced tab? In what program even?

I did as you said with the nk.nbf and it goes on just fine without editting a thing :(

Its a pain testing these things, since I usually end up having to restore from SD which rewrites the extended rom, gsm, os, spash screen, htc screen,etc and then it takes ages for me to reflash my bits!

I can upload my rom if someone is willing to take a peek, see if I have missed something really obvious?

ADB100
15-04-2007, 02:25 PM
I had a similar issue (I think?) where everything seemed to work and the nk.nbf file was created OK. However there would be an error logged in the Windows Event Log about faulting an application. The resulting ROM image would install but I got a white screen following the reset (it made noises like it was working though). I followed the instructions for Molskis cooking tools to the letter and couldn't understand what the issue was :confused: I posted on here for some assistance but after I got no helpful replies I played around a bit more and realised the dump folder was slightly over 128MB (Size said less but I think it was over?). Anyway I removed some more files I didn't need and low and behold it all worked :)
I don't know what the absolute maximum size the dump folder can be, but I keep mine below 128,000,000 bytes....

HTH

Andy

jwzg
15-04-2007, 03:11 PM
...but I keep mine below 128,000,000 bytes....

HTH

Andy

Size on disk?

jwzg
15-04-2007, 03:13 PM
jwzg:
Thanks for taking the time to reply.
initflashfiles.dat should start with a ; (Since ; is used to remark lines) so I just remove back to that.

With regards to setting English, where abouts is the advanced tab? In what program even?

I did as you said with the nk.nbf and it goes on just fine without editting a thing :(

Its a pain testing these things, since I usually end up having to restore from SD which rewrites the extended rom, gsm, os, spash screen, htc screen,etc and then it takes ages for me to reflash my bits!

I can upload my rom if someone is willing to take a peek, see if I have missed something really obvious?

Not talking about that...

You have to open up initfileflashes.dat with a hex editor and remove the first two bytes (FF, FE). Then you can put the file back into the dump folder and build it.

ADB100
15-04-2007, 03:46 PM
Size on disk?

The dump folder of the last one I cooked said:

Size: 121 MB (127,089,811 bytes)
Size on disk 131 MB (137,654,272 bytes)

And this worked fine, it was a re-heat of Faria's Real Thing ROM where I re-added VoIP & Windows Update (VoIP works but Windows Update won't and I can't figure out why - the application fails to connect to the MS site and won't close, but that's another story.......).

Andy

Whiterat
15-04-2007, 10:49 PM
Yep I get that, I am a reverse engineer by trade so naturally I get what the manual had to say.

The limitation of imgfs is IF there are more than 1500 files being added to nk.nbf, the file size limitation also applies.

I am not adding any files to the dump, simply removing the cyberon stuff (and removing the microsoft callbacks, and sqm stuff)
Tried buling without removing sqm stuff and same thing.

I guess its just not going to be my thing :(

jwzg
16-04-2007, 02:42 AM
Here's what to do.

Delete the current 84000000-os.nb file in the ROMDUMP folder, then remake it. That should solve your problem. I forgot that I had the same problem.

Whiterat
16-04-2007, 03:09 PM
Ahh I will give that a go :D

I was hoping to pick up a half broken wizard from ebay (broken digitiser/blocked/missing case/etc) and just use it as a tester, since I get alot of people whining when I am uncontactable for 90 mins :(
(About the right time to fiddle, flash and reinstall stuff)