PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-27-2007, 04:42 PM
colonel's Avatar
Retired Staff
Offline
Pocket PC: HTC Harrier, HTC Apache, HTC Titan, HTC Vogue....
Carrier: Sprint
Location: Shawnee, KS
 
Join Date: Jan 2007
Posts: 2,434
Reputation: 508
colonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Anyone have a good method for tracking Reg errors in a kitch

I just started playing with sfaure03's latest kitchen (1.2) and when I am running CreateOS I am getting the error when it builds the hives. I have been going through all of the .rgu files looking for errors. Most of them I have even been copying to make them default.txt and running the default-to-hv tool to look for the errors. Still haven't found it. Just checking to see if anyone had any other tricks aside from this long and painful process.
__________________
Kitchen updates at www.ppckitchen.org and you can get BuildOS help Here

If you have been helped by me or would like to support developers like Olipro, helmi_c, and others please feel free to Donate

ALWAYS FLASH BACK TO YOUR CARRIER'S OFFICIAL ROM BEFORE TAKING YOUR PHONE IN FOR SERVICE OF ANY KIND

Reply With Quote
  #2 (permalink)  
Old 02-27-2007, 04:56 PM
Perasite's Avatar
Retired Staff
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Location: Yuma, AZ
 
Join Date: Sep 2006
Posts: 1,929
Reputation: 2026
Perasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I got an error whenever the .rgu didn't have a final carriage return. Make sure all the .rgu's end with a blank line. Unfortunately I don't know of a way to do that without opening each one.
__________________
Now with VGA support on all software!

Projects: (PeraStats 1.7) (PeraCount with Clock 1.3) (PeraCount 1.3) (PeraProfiler 1.2) (S2U2Lock 1.1)
Reply With Quote
  #3 (permalink)  
Old 02-27-2007, 05:04 PM
colonel's Avatar
Retired Staff
Offline
Pocket PC: HTC Harrier, HTC Apache, HTC Titan, HTC Vogue....
Carrier: Sprint
Threadstarter
Location: Shawnee, KS
 
Join Date: Jan 2007
Posts: 2,434
Reputation: 508
colonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Yeah, I found the error I was looking for. It would be nice if there was a process to find these errors though. That was one thing I loved about the old way of building roms, the txt-to-hv app would tell you right where the error was. I guess with a stable kitchen, the only errors will be in OEMs.
Reply With Quote
  #4 (permalink)  
Old 02-27-2007, 06:23 PM
ImCoKeMaN's Avatar
Retired Staff
Offline
Pocket PC: Touch PRO 2! Touch Pro, Touch, Mogul, 6700
Carrier: Sprint
 
Join Date: Dec 2006
Posts: 918
Reputation: 3178
ImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
the createOS program shows where the error is at the very end of the log in that window. Also if you need to do searching through the unicode files i've used agent ransack
Reply With Quote
  #5 (permalink)  
Old 02-27-2007, 06:50 PM
colonel's Avatar
Retired Staff
Offline
Pocket PC: HTC Harrier, HTC Apache, HTC Titan, HTC Vogue....
Carrier: Sprint
Threadstarter
Location: Shawnee, KS
 
Join Date: Jan 2007
Posts: 2,434
Reputation: 508
colonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuffcolonel knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Here is what I was getting
Code:
-- adding dump\ff1dcb21-efff-4a57-8d60-dbb09e72cccd.dsm
  -- adding dump\ff1dcb21-efff-4a57-8d60-dbb09e72cccd.rgu

Completed successfully

DEV:\Temp> rgucomp.exe 
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
wmain: (RGUComp) !ERROR failed building DEFAULT hives
I think I was making a mistake when trying to patch the crossbow stuff using the batch file. Just to clarify, in the release notes, sfaure03 says this:

Quote:
To use, after extracting the rom open a dos prompt
cd into the subdirectory CBOW then run the apply.bat script there.
This overwrites some original files from the OS/LOC/OEM direcotries of
the default kitchen and have been used by many to give us a more "crossbow" look..
I guess I am getting confused on when you actually are supposed to run the batch file.
Reply With Quote
  #6 (permalink)  
Old 02-27-2007, 08:13 PM
sfaure03's Avatar
Regular 'Geeker
Offline
Location: dallas
 
Join Date: Jan 2007
Posts: 344
Reputation: 0
sfaure03 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
hmm.. i get no error.

Trying again.

any chance you've reused that UUID in another rgu?

That is the DIM module, and well, i aint touched that bugger.
__________________
shawn
Reply With Quote
  #7 (permalink)  
Old 02-27-2007, 08:16 PM
finster869's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Location: Pennsylvania
 
Join Date: Nov 2006
Posts: 282
Reputation: 105
finster869 is keeping up the good workfinster869 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
I guess I am getting confused on when you actually are supposed to run the batch file.
I believe you need to run it 1 time before you run createos. As far as I could tell, all it did was replace the standard files in the OS/LOC folders of the kitchen with the crossbow like theme files.
Reply With Quote
  #8 (permalink)  
Old 02-27-2007, 08:47 PM
verizonguy's Avatar
Regular 'Geeker
Offline
Pocket PC: XV6800
Carrier: Verizon Wireless
Location: US
 
Join Date: Feb 2007
Posts: 487
Reputation: 47
verizonguy is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
That message can be caused by 1 of 3 things: either the file wasnt saved in unicode, the last line wasn't left blank or the file rgucomp was looking for wasn't found. the latter is most likely. another problem you will run into with that build is that it has entries for .net cf2 built in which rgucomp has trouble parsing but that is a separate issue. I will be releasing a tutorial soon for working with hive files including simplified tools.
Reply With Quote
  #9 (permalink)  
Old 02-28-2007, 01:16 PM
isamu49's Avatar
PPCGeeks Regular
Offline
Pocket PC: Vogue
Carrier: Sprint
 
Join Date: Dec 2006
Posts: 60
Reputation: 0
isamu49 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Just a couple things,

At that part of the build, I don't think a UUID conflict is possible since they're all dumped into the same directory right before the hives are built using rgucomp and packages.sof. Also that last UUID that is showing isn't really indicative of anything other then that's the last sorted dsm/rgu file being built into the cab file.

I suspect you might get that sort of error if you try to build the hives with rgu files without matching dsm files. Most rgu compile errors are usually a little more descriptive.

That being said, I use a batch script to automatically compile/verify all the rgu's in the oem directories (this assumes all the components of the kitchen are verified).

Oh yeah, and of course, I try to avoid using createos if at all possible. I find it to be an unnecessarily cumbersome process.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 04:23 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com