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
  #61 (permalink)  
Old 01-27-2007, 02:16 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)
Hang tight. When I get home I will post a screen shot showing exactly how stuff should look. Remember, you can't have word wrap on. I had to open Notepad with nothing in it, turn off word wrap, then "Open" the reg text. Add the REGEDIT4 and save as Unicode first. It should basically look like this:

REGEDIT4

[HKEY_LOCAL_MACHINE\......]
@="string value"

[HKEY_LOCAL....................]
"DLL"="whatever.dll"

Remember to pay attention to spacing and syntax. When you run the txt-to-hv utility, if it shows an error, it will list the key where the error is. I always save my default.txt and user.txt in two places since those utilities take the one you have in the HV Tools folder. So, if I have an error when converting to .hv, I erase the .hv and boot file that were created. I can then go back to my saved txt file and correct the issue, save in the HV tools folder and somewhere else and then attempt to convert back to .hv again.
Reply With Quote
  #62 (permalink)  
Old 01-27-2007, 04:59 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)
Okay, here is the .NET CF2.0 "module". This one is pretty simple. Using the process in this thread, just paste the files into the dump folder and add the registry entries to either .hv file.
Attached Files
File Type: zip netcfsp1_856.zip (2.11 MB, 51 views) Click for barcode!
Reply With Quote
  #63 (permalink)  
Old 01-28-2007, 02:41 PM
sd_matto's Avatar
PPCGeeks Regular
Offline
Pocket PC: Mogul 6800
Carrier: Sprint
 
Join Date: Oct 2006
Posts: 67
Reputation: 15
sd_matto is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
System files that can be UPX'd?

Hello-

Great work by Mike (for the tools), and by Helmi, Mike and Colonel (for the new 3.3 based ROMs).

Helmi's ROM (and the Colonel's, which has two extra copies of a 680K file, one in \windows and the other \windows\pem\) can be easily fixed via the custom tools following instructions on here. In addition, the smartdialer hack can be similarly fixed.

As I was working my way through this custom ROM exercise, I thought about UPX and system files. At first, I tried a blanket UPX of EVERYTHING; did not go over well. So, I was wondering about people's experience with UPXing ROM files, and, specifically, what ROM files can be safely UPXd. Your thoughts?

Thanks in advance.
Reply With Quote
  #64 (permalink)  
Old 01-28-2007, 04:33 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)
The rom itself is compressed (apparently) so UPXing on top of that might not always be a win - according to the long long long rom kitchen thread at least.

The only reason to UPX stuff in rom is to make enough space to fit more stuff into rom. At least in the Rom Kitchen you can see when you go over the limit, and if you do you need to pull out something to get back under the limit.
Reply With Quote
  #65 (permalink)  
Old 01-28-2007, 04:40 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)
Exactly schettj, that is the way I understand it as well. Many people believe that removing programs from the rom will give them ample amounts of Storage and Program memory. The fact is, though, that its just not true (that I have seen anyway). My .nba files are always 63.2 MB regardless of what I put in them. Actually, my dump folder is 94MB right now so that shows the compression that is taking place.
__________________
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
  #66 (permalink)  
Old 01-28-2007, 04:52 PM
luv2chill's Avatar
Retired Staff
Offline
Pocket PC: Apache (PPC6700); Titan (Mogul)
Carrier: Sprint
Location: Lawrence, KS
 
Join Date: Nov 2006
Posts: 1,524
Reputation: 143
luv2chill is keeping up the good workluv2chill is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to luv2chill Send a message via AIM to luv2chill Send a message via MSN to luv2chill Send a message via Yahoo to luv2chill Send a message via Skype™ to luv2chill
I haven't gotten much into the UPX thing yet (it's on my list!) but I believe one of the side effects of UPX compression is quicker load times (because the speed bottleneck is in reading the file from flash rom). So since a UPX'ed file is smaller in size, it can be copied from the flash rom to memory faster and will therefore speed up its load time.

So even if it doesn't directly give you more storage memory it may still be worth trying to UPX some stuff if it means that stuff loads faster. Also, as you've said it allows you to pre-install more stuff in the ROM so that you don't have to use your storage memory for it.

Only problem is that it seems that UPX'ing the wrong files can cause all kinds of gremlins, so there's a ton of trial and error involved. A wiki page with summaries of which files can be successfully UPX'ed and which ones can't would be a good way to go (maybe one already exists somewhere?).
Reply With Quote
  #67 (permalink)  
Old 01-28-2007, 07:09 PM
kwyatt's Avatar
N00b
Offline
Pocket PC: Treo 800w
Carrier: Sprint
 
Join Date: Sep 2006
Posts: 39
Reputation: 5
kwyatt is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
how would i go about upxing some system files using either this or the rom kitchen method, also what system files are ok to upx?
Reply With Quote
  #68 (permalink)  
Old 01-28-2007, 09:19 PM
crencom's Avatar
Lurker
Offline
 
Join Date: Dec 2006
Posts: 18
Reputation: 0
crencom is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I cannot get past a certain point with this process. I can dump the .nba file. I edit what I want on the dump folder. Then when I run the process to restore the edited Dump folder to a .nba, it doesn't seem to build the .nba file. I assume the new .nba would appear in Folder 2, but it is.nt there, just the original .nba. Anyone have any ideas.

scott
Reply With Quote
  #69 (permalink)  
Old 01-28-2007, 10:00 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)
That is your .nba. The app just patches it with your new stuff. Just copy it to folder 1 and encode.
Reply With Quote
  #70 (permalink)  
Old 01-28-2007, 10:55 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)
Here are the registry entries for the Mark All As Read cab. I have not had a chance to package anything else at this point. For this, though, all you need is the entries and the files from the cab.


[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\SwartB SmartDeviceCab1]
"Instl"=dword:00000001
"InstallDir"="\\Program Files\\SmartDeviceCab1"
"InstlDir"="\\Program Files\\SmartDeviceCab1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View_Context]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View_Context\{6F3A2AA 2-D88D-4e3d-85C1-D5B403EAD4EF}]
@="Inbox Context Menu Extension"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View\{47018836-A919-42f7-84AF-89257BA458BA}]
@="Inbox Softkey Menu Extension"

[HKEY_CLASSES_ROOT\CLSID\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}]
@="Inbox Context Menu Extension"


[HKEY_CLASSES_ROOT\CLSID\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}\InprocServer32]
@="\\Program Files\\SmartDeviceCab1\\InboxMenuExtensibility.dll "


[HKEY_CLASSES_ROOT\CLSID\{47018836-A919-42f7-84AF-89257BA458BA}]
@="Inbox Softkey Menu Extension"


[HKEY_CLASSES_ROOT\CLSID\{47018836-A919-42f7-84AF-89257BA458BA}\InprocServer32]
@="\\Program Files\\SmartDeviceCab1\\InboxMenuExtensibility.dll "

[HKEY_LOCAL_MACHINE\Security\AppInstall\SwartB SmartDeviceCab1]
"InstallDir"="\\Program Files\\SmartDeviceCab1"
"Role"=dword:00000018
"Uninstall"="\\Windows\\AppMgr\\SwartB SmartDeviceCab1\\7001.tmp"


[HKEY_LOCAL_MACHINE\Security\AppInstall\SwartB SmartDeviceCab1\ExecutableFiles]
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 03:26 PM.


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