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-22-2007, 10:11 PM
schettj's Avatar
morsus mihi
Offline
Pocket PC: iPhone 4
Carrier: AT&T
Location: Not from around these parts
 
Join Date: Oct 2006
Posts: 3,017
Reputation: 3616
schettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Advanced OEM tricks :D

Ok, so ImCokeMan and I have just about wrapped up the celedial OEM, and we ran into something that's cropping up more and more...

If you have a .rgu file, and it's overriding some default OS or OEM registry entry, it's a crap shoot if yours goes in last or not (last one wins!) - it seems like the order the .rgu files are processed is by uuid, sorted lowest to highest.

So... you either fudge your uuid, remove the offending registry entry from some other kitchen OEM or OS file, or...

use the .proxml file!

I'm testing that now. The .xml files also are processed alphabetically, but they are done at cold boot time, not build time, so they take a tiny bit of storage memory, but they're able to override anything in a .rgu file since they're processed after the hive is built.

So for celedial, this registry entry is getting overridden:
Code:
 
[HKEY_LOCAL_MACHINE\Security\Phone\Skin] 
"Ext"="\\Windows\\CeleDial.dll"
If I make a mxip_CeleDial_100.provxml file with
Code:
 
<wap-provisioningdoc> 
  <characteristic type="Registry">		 
		<characteristic type="HKLM\Security\Phone\Skin" translation="filesystem"> 
			<parm name="Ext" datatype="string" value="\Windows\CeleDial.dll"/> 
		</characteristic> 
</wap-provisioningdoc>
Then that entry will get re-overwritten on cold boot, and hey presto it works

Anywhoo, that's one way around the registry override issue.
Reply With Quote
  #2 (permalink)  
Old 02-22-2007, 10:24 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)
Good work on the OEMs, thanks once again schett! Currently the celedial oem I have w/o the provxml is working after my minor RSSI_Icons.dll OEM mod, but it did require a soft reset after the contacts were loaded (note: with my current autoconfig settings the contacts synced from mail2web right at boot thanks to a provxml )

Looks like we have a pretty good solution for the smartdialer problem. This one doesn't break the left soft button either!!
Reply With Quote
  #3 (permalink)  
Old 02-22-2007, 10:28 PM
signal34's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro2
Carrier: Sprint
 
Join Date: Jul 2006
Posts: 203
Reputation: 225
signal34 is keeping up the good worksignal34 is keeping up the good worksignal34 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I'm coming to the well of knowledge once more...

What if we just make one big .cab file with any necessary registry changes, and add it to our Ext_ROM....would that accomplish the same thing?

Also, based on the Kitchen method, is there a folder that gets processed first (eg. LOC, OEM, OS), or is it all just by UUID?

Thanks so much for your insight, schettj!!
Reply With Quote
  #4 (permalink)  
Old 02-22-2007, 10:33 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)
Yes a cab in the EXT rom would accomplish this, but the way schett is doing this it will work as an OEM in the kitchen without and mods. The extrom would be a personal change which might be more advanced than desired for a first time kitchen user. Also this provxml method would be helpful for any additional wrapper programs like a web front etc.
Reply With Quote
  #5 (permalink)  
Old 02-22-2007, 10:40 PM
signal34's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro2
Carrier: Sprint
 
Join Date: Jul 2006
Posts: 203
Reputation: 225
signal34 is keeping up the good worksignal34 is keeping up the good worksignal34 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Cool. Tks much Im....
Reply With Quote
  #6 (permalink)  
Old 02-22-2007, 10:49 PM
Sogarth's Avatar
PPCGeeks Regular
Offline
 
Join Date: Jan 2007
Posts: 129
Reputation: 0
Sogarth is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Umm... I guess I'll finally say something, considering that I've been amused that nobody else has figured this out.

There is, in fact, a consistent way to guarantee your .rgu file gets resolved last.

And the way is...


...It's all alphabetical.

I have my own customizations in an OEM labelled "ZZZ Customizations ZZZ". Always goes last. You can look at the CreateOS.exe log when it's reading the .rgu files, and you'll notice that the last alphabetical folder is the last .rgu read.

I was going to wait until the forum ROM project had gotten underway before mentioning this, but if people are going to need to go through this much trouble to try and get around this, I might as well pipe up now.
Reply With Quote
  #7 (permalink)  
Old 02-22-2007, 10:55 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)
Thanks Sogarth! Any new information is always welcome since what i lack in knowledge i've been trying to make up for with determination. I can't speak for others here, but i did have to take a break to avoid burning out from fighting things similar to this.
Reply With Quote
  #8 (permalink)  
Old 02-22-2007, 10:58 PM
Sogarth's Avatar
PPCGeeks Regular
Offline
 
Join Date: Jan 2007
Posts: 129
Reputation: 0
Sogarth is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Sogarth
...It's all alphabetical.
Taking a bit of the output of my own CreateOS.exe:
Quote:
importing registry file ".\Registry\39a3d1ba-b75c-11db-8314-0800200c9a66.rgu"...
importing registry file ".\Registry\4db083db-a1ab-4cab-b363-9727394b9d9a.rgu"...
importing registry file ".\Registry\23090ee4-ca47-4bc8-a93e-c53630662c12.rgu"...
importing registry file ".\Registry\cab3a5d5-e09b-495d-8382-7f5136998f58.rgu"...
package "049762a0-b3ee-11db-abbd-0800200c9a66.dsm" does not contain .rgu file "049762a0-b3ee-11db-abbd-0800200c9a66.rgu"
importing registry file ".\Registry\3dfb15ec-b94c-11db-8314-0800200c9a66.rgu"...
  • 39a3d1ba-b75c-11db-8314-0800200c9a66: Trimmed VJCandela 0.3
  • 4db083db-a1ab-4cab-b363-9727394b9d9a: wavedev.dll
  • 23090ee4-ca47-4bc8-a93e-c53630662c12: WM5torage 1.7.3
  • cab3a5d5-e09b-495d-8382-7f5136998f58: WModem
  • 049762a0-b3ee-11db-abbd-0800200c9a66: zaTelnet 0.5.1
  • 3dfb15ec-b94c-11db-8314-0800200c9a66: ZZZ Customizations ZZZ
Reply With Quote
  #9 (permalink)  
Old 02-22-2007, 11:10 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)
Can anyone actually explain to me why the UUID's are necessary on this device?
Reply With Quote
  #10 (permalink)  
Old 02-22-2007, 11:48 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)
Great find, Sogart!
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 10:17 AM.


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