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
  #121 (permalink)  
Old 01-31-2007, 07:57 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)
Guys, I am taking my first shot at making an OEM (PPC Geeks Piscel pdf viewer). I used WIN cabmanager and exported the registry and files from the cab. My question is: How do you create the shortcut file? I have the initflashfiles.txt file figured out based upon other OEMs, but can't figure out how to create the shortcut file.

Do I just create a text file with:

25#"picselifv.exe"
Reply With Quote
  #122 (permalink)  
Old 01-31-2007, 09:04 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)
I am having trouble getting the OSexe to run with my first attempt at an OEM. I am getting this error:

InitRegistry FAILED in file ".\Registry\d8e773b0-b187-11db-abbd-0800200c9a66.rgu" within a few lines of line 1.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\d8e773b0-b187-11db-abbd-0800200c9a66.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives

That is clearly the OEM I am creating. I exported the registry from the cab using cab manager and saved it as xxxxxxxx.rgu. I added a blank line at the end. The rgu file looks like:

REGEDIT4

[HKEY_CLASSES_ROOT\ifvfile]
@="Picsel Viewer"

[HKEY_CLASSES_ROOT\ifvfile\Shell\Open\Command]
@="\"\\Windows\\picselifv.exe\" \"%1\""

[HKEY_CLASSES_ROOT\ifvfile\DefaultIcon]
@="\\Windows\\picselifv.exe,0"

[HKEY_CURRENT_USER\Software\Picsel Technologies Ltd\Picsel File Viewer]
"Command"="\"\\Windows\\picselifv.exe\" \"%1\""
"DefaultIcon"="\\Windows\\picselifv.exe,0"
"LinkFilename"="Picsel Viewer"
"history"="\\Program Files\\Picsel\\File Viewer\\history\\hist"
"help"="\\Program Files\\Picsel\\File Viewer\\help\\^\\app.html"
"MemLeftAside"="2097152"

[HKEY_CURRENT_USER\Software\Picsel Technologies Ltd\Picsel File Viewer\eDR]
"page.on.demand"="1"

[HKEY_CURRENT_USER\Software\Picsel Technologies Ltd\Picsel File Viewer\Paths]
"Windows"="\\Windows\\"
"Cookies"="\\Program Files\\Picsel\\File Viewer\\history\\"
"Resource"="\\Windows\\"
"ResourceImage"="\\Windows\\"
"Libs"="\\Windows\\"
"Img"="\\Windows\\"
"Fonts_Bincmaps"="\\Windows\\"
"Fonts"="\\Windows\\"
"Help"="\\Program Files\\Picsel\\File Viewer\\Help\\"
"All"="\\Windows\\"

Can someone help me with this? Thanks.
Reply With Quote
  #123 (permalink)  
Old 01-31-2007, 09:13 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)
A shortcut is a text file 25#"\Windows\picselifv.exe" saved as a Piscel PDF or whatever you want to name it. Then make a flash file entry.

I cannot tell about the registry since the site formats differently. Each [HKEY....] should be all the way to the left. Each line under that entry should be 2 spaces over. Save as Unicode.
__________________
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
  #124 (permalink)  
Old 01-31-2007, 09:34 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)
Colonel:

I still can't figure it out. Here is what I did:

1. Open cab file in Cab Manager
2. Highlight Registry and export to .reg file
3. Open .reg file with Textpad
4. move second lines over 2 spaces keeping Hkeys all the way to the left.
5. Save as Unicode PC Text file. (should it be unix or something else?)
Reply With Quote
  #125 (permalink)  
Old 01-31-2007, 10:06 PM
pgdeaner's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Jan 2007
Posts: 99
Reputation: 0
pgdeaner is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
UPX

While working on AKU3.5, I have also been playing aroung with UPX. It seems like you can really shrink the image but then some things do not want to work.

Anyone have any experience with UPX that can outline what can be UPXed and what should not?
Reply With Quote
  #126 (permalink)  
Old 01-31-2007, 10:23 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)
finster, is there only one blank line in between each line? One thing you can do is download WideAwake's tools since they are useful as well. In those tools is a file called HV Tools. Put your saved text file in there and name it either default.txt or user.txt. Then run the appropriate make_default_hv etc. This is a quick way to test your files to see if they will parse. And, the error message you see will tell you where the issue is. If it completes with no error, then you may have an issue somewhere else.
Reply With Quote
  #127 (permalink)  
Old 01-31-2007, 11:26 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)
Colonel- Thanks for all of the help. I got it to work. User error with software....I had a setting messed up in Textpad....switched to notepad, and it worked no problem. Can't wait until the ftp server is working so we can have a large OEM library!
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 09:57 AM.


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