[Q] problem with runing prorams using net 3.5 - HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting

cannot run programs that need net 3.5 for example the error message that pop when running no-data
invaliadoperationexception
at sorterobjectarray.quicksort
at system.array.sort
at system.array.sort
at system.collections.arraylist.sort
at system.collections.arraylist.sort
at inthehand.win32[]
at nodata.[].0
at nodata.[].0
at system.windows.forms.form.onload
at system.windows.forms.form._setvisiblenotify
at system.windows.forms.forms.control.set_visible
at system.windows.forms.application.run
at nodata
i tried to reinstall net 3.5
can I fix the problem not by hard reset?

bigelar said:
cannot run programs that need net 3.5 for example the error message that pop when running no-data
invaliadoperationexception
at sorterobjectarray.quicksort
at system.array.sort
at system.array.sort
at system.collections.arraylist.sort
at system.collections.arraylist.sort
at inthehand.win32[]
at nodata.[].0
at nodata.[].0
at system.windows.forms.form.onload
at system.windows.forms.form._setvisiblenotify
at system.windows.forms.forms.control.set_visible
at system.windows.forms.application.run
at nodata
i tried to reinstall net 3.5
can I fix the problem not by hard reset?
Click to expand...
Click to collapse
Ok, there really isn't enough information here to make an educated answer.
What ROM are you running?
Which application are you trying to run?
Looking at the error, it is more of an application error than a .Net CF 3.5 error simply because if there were a problem with the framework, 9 time out of 10, the application in question would not launch. It would throw a more cryptic error.

my rom version is 1.66.415.3 (76641) wwe
when trying to CHT editor 1.8.5.1 i grt en error:
An unexpected error has occurred in CHTEditor.exe.
Select Quit and then restart this program, or select Details for more information.
details
CHTEditor.exe
PlatformNotSupportedException
at System.Globalization.CompareInfo..ctor(Int32 culture)
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at System.String.IndexOf(Char value)
at Microsoft.Win32.RegistryKey.FixupName(String name)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at CHTEditor.CHTEditor_MainWindow.LoadSettings()
at CHTEditor.CHTEditor_MainWindow..ctor()
at CHTEditor.Program.Main(String[] args)
the problem started after touch alarm got stuck in time sync. touch alarm is ,also, not working.

bigelar said:
my rom version is 1.66.415.3 (76641) wwe
when trying to CHT editor 1.8.5.1 i grt en error:
An unexpected error has occurred in CHTEditor.exe.
Select Quit and then restart this program, or select Details for more information.
details
CHTEditor.exe
PlatformNotSupportedException
at System.Globalization.CompareInfo..ctor(Int32 culture)
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at System.String.IndexOf(Char value)
at Microsoft.Win32.RegistryKey.FixupName(String name)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at CHTEditor.CHTEditor_MainWindow.LoadSettings()
at CHTEditor.CHTEditor_MainWindow..ctor()
at CHTEditor.Program.Main(String[] args)
the problem started after touch alarm got stuck in time sync. touch alarm is ,also, not working.
Click to expand...
Click to collapse
Ahhh, ok. That makes much more sense. A hard reset would fix that. It sounds like you have a corrupted library.

Related

CAB Creation/Registry syntax "[ ]" ?

I have a reg entry:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player]
"FPS Index"=dword:00000002
"Mute"=dword:00000000
"BenchMark"=dword:00000005
"AudioMode"=dword:00000002
"Show Stat"=dword:00000000
"Exit on close"=dword:00000001
"Reconnect"=dword:00000001
"Alert on Control"=dword:00000000
"IFrame Interval"=dword:0000000a
"Video FPS"=dword:0000000a
"Video Bitrate"=dword:00000096
"Lebowski Rate"=dword:00000001
"Encode Type"=dword:00000001
"Video Resolution"=dword:00000003
"Switch resolution"=dword:00000000
"Fast Start"=dword:00000001
"Rate Control"=dword:00000001
"Precharge Type"=dword:00000000
"Precharge Duration"=dword:00000fa0
"Total"=dword:00000001
"Current Selection"=dword:00000001
"Volume"=dword:0000003c
"Version No"="1.1.0.95"
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]]
"Last valid addr"=dword:XXXXXXX
"Last valid port"=dword:XXXXXXx
"S Video Info"="S-Video: DirecTV with TiVo SATELLITE"
"XML Entry"=dword:00000000
"Address Type"=dword:00000000
"Password"="XXXX"
"Port"=dword:00000000
"Address"=""
"Administrator"=dword:00000001
"Alias"="home"
"Finder ID"="XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]]
"Video Size"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite13]
"Command"="4"
"File Name"="Channels\NBC.gif"
"FavoriteType"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite12]
"Command"="206"
"File Name"="Channels\ESPN.gif"
"FavoriteType"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite11]
"Command"="249"
"File Name"="Channels\Comedy Central.gif"
"FavoriteType"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite10]
"File Name"="Channels\Nationals.GIF"
"Command"="626"
"FavoriteType"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite9]
"Command"="204"
"File Name"="Channels\CNN Headline News.gif"
"FavoriteType"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite3]
"Command"="26"
"File Name"="favorites\Pause.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite4]
"Command"="27"
"File Name"="favorites\Rewind.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite5]
"Command"="24"
"File Name"="favorites\Play.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite6]
"Command"="28"
"File Name"="favorites\Fast Forward.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite2]
"Command"="42"
"File Name"="favorites\Select.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite8]
"Command"="35"
"File Name"="favorites\Program Guide.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite7]
"Command"="47"
"File Name"="favorites\Now Playing.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite1]
"Command"="39"
"File Name"="favorites\Cursor Down.gif"
"FavoriteType"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]\[2]\Favorite0]
"Command"="38"
"File Name"="favorites\Cursor Up.gif"
"FavoriteType"=dword:00000001
Click to expand...
Click to collapse
These (Bold RED) brackets are causing the reg entry to not import correctly. But this is exactly what the reg entry says on the device currently. I am doing this to have a one in all install for a CAB entry including my username/pass etc installed with the program. I am using WinCE CAB manger. Any idea of other syntax to use or I am stuck manually entry ever time I reload the program.
what registry editor did you use to export the keys??
I have used PHM and Mobile Reg editor Desktop
i always used mobile reg edit, which is an app that runs on your desktop and connects to your phone to pull the registry and make changes as well as export keys... Using this program i have no issues importing them into wince cab manager.
shogunmark said:
i always used mobile reg edit, which is an app that runs on your desktop and connects to your phone to pull the registry and make changes as well as export keys... Using this program i have no issues importing them into wince cab manager.
Click to expand...
Click to collapse
That is the one I used. I have never seen a reg entry for the key name end in ] before until the slingbox key for each user pref device you setup. I think it wont import correctly due to the reading the ] means end of the reg key name and it looks like a typo of a double ] but actually the last digit is ] and then the syntax to end e reg key name line is also ]. How well. I need to learn how to do the sbpm.xml file but no info is available for the mobile player but the PC slingplayer has a method to write your own xml file to save/backup your settings.
Double ']' Bug
wpbear said:
That is the one I used. I have never seen a reg entry for the key name end in ] before until the slingbox key for each user pref device you setup. I think it wont import correctly due to the reading the ] means end of the reg key name and it looks like a typo of a double ] but actually the last digit is ] and then the syntax to end e reg key name line is also ]. How well. I need to learn how to do the sbpm.xml file but no info is available for the mobile player but the PC slingplayer has a method to write your own xml file to save/backup your settings.
Click to expand...
Click to collapse
Why doesn't anyone ever report this kind of thing to us directly, instead of making me hunt them down in random forums scattered across the Internet? Blah.
The REG import is fixed to handle the double ']' characters for the next version of WinCE CAB Manager. Contact OCP Software Support directly if you come across anything else, please.
---
Shawn Talein
OCP Software Support
Shawn Talein said:
Why doesn't anyone ever report this kind of thing to us directly, instead of making me hunt them down in random forums scattered across the Internet? Blah.
The REG import is fixed to handle the double ']' characters for the next version of WinCE CAB Manager. Contact OCP Software Support directly if you come across anything else, please.
---
Shawn Talein
OCP Software Support
Click to expand...
Click to collapse
Thanks for you help but I figured it was me or MS not OCP, anyway good to know thanks.
wpbear said:
Thanks for you help but I figured it was me or MS not OCP, anyway good to know thanks.
Click to expand...
Click to collapse
Heh! At least it's good to know that I'm the last person people blame somewhere in the world ...
Shawn Talein said:
Heh! At least it's good to know that I'm the last person people blame somewhere in the world ...
Click to expand...
Click to collapse
I justed checked your webpage. I am 2.1.0.35 , in 2.1.0.50 it is working correct? Or are you about to release a newer version?
B. We're working on a new version now, hopefully with Vista compatibility. Tentative target release date is within the next 30 days or so.

HButton - maps more apps on HW buttons

NEW VERSION 2.3
*** this application is no longer developed. Last version (2.3) is attached to this post ***
I didn’t find freeware application for assign more applications to one HW button using hold-button, so I decided to write my own. Here is result.
Application HButton can be used to assign more applications to one HW button. If you press the button, the first application is run. If you hold button till device vibrate, second app is run. If you hold button till second vibrate, third app…. And so on, and so forth.
Usage:
* Install attached cab.
* Run HBSetup (Programs - HButton - HBSetup), setup up to 5 applications to Button1
* Start Setting – personal – Buttons and assign HButton1 to any HW button.
Now you can run all selected applications using this one HW button.
Any topics welcome.
Hundera
[18.5.2007] UPDATE
I uploaded new version 1.2.
Contains new options for starting applications
* vibrate
* beep
* display name on screen
[22.5.2007]
Version 1.3
* "unlimited" num of apps on one button
* <None> application
* option to cycle thru applications
* option to notify first application
[25.5.2007]
Version 1.5 - please uninstall previous version (not necessary on WM5, WM6)
* Fix: Bugs in installation and setup on devices with localized ROMs
* Fix: Unable to remove first app in list
* Fix: Not working for some buttons on Universal
* Could be installed on Storage Card (Only HBSetup.exe)
* <Clock> application
* Positioning of info box.
[2.6.2007]
Version 1.6
* <Today> application
* HButtonTask - task switcher like alt+tab. (first app is always today)
[6.6.2007]
Version 1.7 - fixed bugs with PHM keys
* Possibility to start application with params
* HBSetup search for links in linked directories
* HBSetup doesn't assign .lnk file, but parse it and assign exe with params
Vesion 1.8 - added some "applications"
* <Ok/Close> (minimize app)
* <Quit> (terminates app)
* <Start Menu>
[7.6.2007]
Vesion 1.8.1 - Fixed bug with param parsing
[30.9.2007]
Version 1.9.1
* <Back> - switch to previously opened application
* HButtonTask - first item in list could be Today or previously opened application
* Fixed: Device reboots when <QUIT> is used on "Programs"
[23.10.2007]
Version 2.0
* <Rotate Left>
* <Rotate Right>
* assignment to HW buttons could be done directly in HBSetup
* Label configuration - size, font size, colors
* Fixed: install dir in localized ROMs
[29.10.2007] Version 2.1
* <Toggle BT>
* <Toggle SIP>
* Fixed: refreshing top window after Rotate
[10.1.2008] Version 2.2
* <Toggle Sound (only WM5,WM6)>
* <Toggle WiFi>
* Fixed: list of applications on PPC2003
* Fixed: directory browsing in HBSetup
[15.5.2008] Version 2.3
* Import / Export of settings
* 2 more buttons (HButton6 & HButton7)
* Browse... select any file to be started by HButton
.NET2.0 necessary
One more remark.
.NET 2.0 is necessary to use HBSetup. If you want to use HButtons without .NET, you can install it from cab and setup it manually using registry editor.
For Notify and flags use sum of numbers for options you want. for example notify=5 means vibrate and display name
Code:
[HKEY_CURRENT_USER\Software\HButton]
Delay : DWORD [I]delay in ms between applications start. (Optional, Deafult 500)[/I]
Notify : DWORD [I]type of notification. 1 - vibrate, 2 - Beep, 4 - display name. (Optional, default 1)[/I]
[HKEY_CURRENT_USER\Software\HButton\Button1]
flags : DWORD [I]flags for this button. 1 for cycle thru apps, 2 for notify even first app, 4 custom delay. (Optional, default 0)[/I]
Delay : DWORD [I]delay in ms between for this button. Only when custom delay is set. (Optional)[/I]
NItems : DWORD [I]number of applications assigned to HButton1[/I]
Item0 : STRING [I]first application[/I]
Item0_name : STRING [I]displayed name of first application. (Optional)[/I]
Item0_param : STRING [I]Parameters of first application. (Optional)[/I]
Item1 : STRING [I]second application[/I]
Item1_name : STRING [I]displayed name of second application. (Optional)[/I]
Item1_param : STRING [I]Parameters of second application. (Optional)[/I]
…
[HKEY_CURRENT_USER\Software\HButton\Button2]
[I].. same for others buttons[/I]
[HKEY_CURRENT_USER\Software\HButton\ButtonT]
flags : DWORD [I]flags for task. same as other flags + 8 for show next application + 16 for first item is last opened application. (Optional, default 8)[/I]
Delay : DWORD [I]same as for buttons[/I]
Special applications:
#t - <Today> (i.e. Item0="#t" )
#o - <Ok/Close>
#q - <Quit>
#w - <Start Menu>
#c - <Clock> (*_name must be set to "<Clock>")
#b - <Back>
Cycling
Hello there.
Its a nice tool. Thanks for that.
What about to cycle through defined applications till the button is released? If I do miss the application which I want to launch - it launches the last defined application. I do think there should be the way how to "cancel" the launching at all or something like this.
Sincerely David
dmisek said:
What about to cycle through defined applications till the button is released? If I do miss the application which I want to launch - it launches the last defined application. I do think there should be the way how to "cancel" the launching at all or something like this.
Click to expand...
Click to collapse
Thanks for remark.
My idea was to start last application immediately, when there is no application left – if you have two applications assigned to one button, second will run exactly after 500ms(or delay you have set).
In your situation, there is necessary to release button in proper time.
But I think, that it could be added as possibility – so user can choose, if
- it will works like now
- it will cycle thru defined applications
- last application will be "CANCEL". (or combination with previous one)
It unfortunately fails to install on my smartphone (VOX).
Can you build a version for smartphone?
Thanks!
Smartphone
I can't promise anything, because I have no experiences with Smartphones.
But I will try to compile it.
I have found the problem of missing the app I want to be a nag as well. As dmisek said, if you have 5 apps assigned to a button and you miss the app you want, you have to take one of the following.
As a quick work around, I created a link to the today screen and added it to the last app of each button. So, the worst case there is that if I miss my intended app, I will at least go back to the today screen.
As a suggestion for a fix, I would probably say to have the apps loop over and over in the list. I would also suggest adding a "Cancel" like you said in the list.
jockyw2001 said:
It unfortunately fails to install on my smartphone (VOX).
Can you build a version for smartphone?
Thanks!
Click to expand...
Click to collapse
As I said before, I have no smartphone. There is some version, but not tested. Use it at your's own risk.
Vibration is not vorking - I used functions that doesn't exists on smartphones. If everythink else will work, I will try to find substitute for this functions.
hopes that help
Hundera
Hundera: Thanks for your time. Unfortunately it still doesn't install ("The installation file is not intended for this device").
The WM6 standard edition on my VOX smartphone doesn't have a button changer in the settings menu.
Does anyone know which executable is responsible for this on a PPC?
Alternatively can anyone provide me the registry keys?
Thx!
Maybe smartphone has no button to map.
On PocketPC it is store in HKLM\Software\Microsoft\Shell\Keys\.
There are keys 40Cx for buttons...
If you havn't these keys, app will not work...
I've got one regkey 40C1 (voice record button) and that's exactly the button I'd like to use with HButton.
Can you write down the steps to install your app manually?
(files and reg keys)
Oh btw, is it the ResetCmd value in 40C1 key I need to change?
Currently it's set to "\Windows\AppButtons\Record.lnk -b"
Hi,
there are two exe files.
HBSetup is for settings HButtons. If it doesn't work, see post with registry description.
Into reg key "Default" add path to HButton with param 1 (or what HButton you will set).
for example "\Program Files\HButton\HButton.exe 1"
ResetCmd is origin value. It's not neccessary to change it.
Bad luck. I can't start button.exe in any way. Not via the 40c1 hw key and neither from fexplore.
I manually created the HButton reg key and the made the change to the 40C1 reg key:
[HKEY_CURRENT_USER\Software\HButton]
"Delay"=dword:000001f4
[HKEY_CURRENT_USER\Software\HButton\Button1]
"Item0"=""\Storage Card\Tools\Fakecursor\Fakecursor.exe""
"NItems"=dword:00000001
=============================================
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C1]
@=""\Storage Card\Tools\HButton\Button.exe" 1"
"Flags"=dword:00000000
"Icon"="hotvoice.exe, 0"
"ResetCmd"=""\Windows\AppButtons\Record.lnk" -b"
=============================================
If I press the hw button it starts the voice tag recorder as usual.
Any clue?
Thx for your patience
Did you try HBSetup? works?
Settings in registry looks fine.
What Button.exe does, when you run it from fexplorer? Nothing, or throw some error?
Hundera said:
Did you try HBSetup? works?
Click to expand...
Click to collapse
unexpected error (NotSupportedException).
This is because I'm not running .NET 2.0
Settings in registry looks fine.
What Button.exe does, when you run it from fexplorer? Nothing, or throw some error?
Click to expand...
Click to collapse
nothing
This one will work... hopefully
Yes, it runs fine from fexplorer
But ... it doesn't start when pressing the voice record button
So close ...
Does HTC do something different with the HW keys on Smartphones
strange...
What voice record button does? Start recording as default or do nothing?
If start recording - try to rewrite another reg value in this registry key. Maybe ResetCmd?
If it do nothing - try to write only "\Storage Card\Tools\HButton\Button.exe" into "Default" key, without param 1.
Hundera said:
strange...
What voice record button does? Start recording as default or do nothing?
Click to expand...
Click to collapse
After pressing the button it beeps 3 times and first opens a window "Alert Speak after the audio prompt" followed for a short time by a window "Recognizing Voice Tag" where it says "there is no trained voice tag" and then exits. I never used this application and don't know yet how it works.
If start recording - try to rewrite another reg value in this registry key. Maybe ResetCmd?
If it do nothing - try to write only "\Storage Card\Tools\HButton\Button.exe" into "Default" key, without param 1.
Click to expand...
Click to collapse
Tried both, but to no avail
Perhaps I have to play around with reg keys like :MSVOICE or :MSHOTVOICE in HKLM\Software\Microsoft\Shell\Rai
No ideas :-(

Alltel MMS wspheader settings

I'm trying to configure the wspheader settings in my registry for Arcsoft v5. Having a hard time understanding exactly what value to type and what string(s) to create. I know this might sound stupid and somewhat silly to must of you, but you someone shed some light on me?
Thanks!
Anyone? Lol.
These should be your MMS settings in your registry.
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\UI]
"SaveSentMessage"=dword:1
"Domain"="http://mms"
"CountryCode"=dword:1
"EnableRemoveCountryCode"=dword:0
"EnableSaveAudioObject"=dword:1
[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\MMSCSetting\Alltel MMSC]
"WAP1RecvDefaultSize"=dword:19000
"WAP1SendDefaultSize"=dword:19000
"PacketSize"=dword:3E8
"ConnectionVia"="{436EF144-B4FB-4863-A041-8F905A62C572}"
"WAP2SendDefaultSize"=dword:4B000
"WAP2RecvDefaultSize"=dword:FA000
"WAPType"=dword:1
"GatewayPort"=dword:1F90
"MmscURI"="http://mms.alltel.com/servlets/mms"
"Gateway"="mms.alltel.com"
"Name"="Alltel MMSC"
"ISP"="Alltel MMSC"
[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1]
"DefaultSetting"="Alltel MMSC"
[HKEY_LOCAL_MACHINE\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\mm1\WspHeader]
"Accept"="*/*"
"User-Agent"="Titan"
"Profile"="http://www.htcmms.com.tw/gen/Titan-1.0.xml"
"Accept-Charset"="us-ascii;utf-8;iso-10646-ucs-2"
"Accept-Language"="en"
"hmac-md5-key"="ph1uzoe52iuw"
That may or may not be in there already...I'm not sure if dcd removed that stuff from the carrier package cabs yet. If it is, leave it alone, if not you must enter it in. The entries that say dword are integers not strings.
Once that's all in you must navigate to HKLM\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\WspHeader and create a new string called X-Alltel-MDN. Set its value to your 10 digit phone number.
Alright, did the changes using registry explorer, added the string, soft reset the phone, I tried sending an MMS to myself to verify the integrity of it. I'm getting the following error:
Warning!
Unable to send your message(s). Your message(s) will remain in the drafts folder.
Adding manually right now, will let you now how it works. Thanks!
Finished adding everything. Still no luck sending the MMS Message. Keep getting the same error code
Gelial said:
Finished adding everything. Still no luck sending the MMS Message. Keep getting the same error code
Click to expand...
Click to collapse
that message means you have NO data connection at all setup... Run the ALLTEL cab that DCD posted on the 1st post, that should provision a connection for you....
That cab has already been installed. I can browse the web and everything in my 6800 without a problem.

[APP] Kheb v1.1 - File system and registry discovery tool [UPDATE - 20.7.2010]

Introduction
Kheb allows you to see exactly what changes any software makes on your Pocket PC. It works by taking complete snapshots of your PPC's state, and creating a diff file that shows the changes between snapshots.
Kheb is a useful tool for software developers, ROM chefs, and advanced users.
Examples of useful stuff Kheb can do
• Shows you where an application places its files - for example, sometimes the executable and shortcuts are placed in obscure locations, with Kheb you can always find them.
• Security – See for yourself if dubious applications install sneaky registry settings to auto-load, or if they leave traces behind after being uninstalled.
• Helps create a custom CAB or OEM package based on an existing CAB, even if the CAB uses setup.dll to run code during installation. Great for aspiring ROM Chefs.
• Gives you a deeper understanding of how system settings work under the hood.
• Tells you exactly where an application hides its "registration information" after you enter a valid serial number. It can help you avoid going through annoying registration schemes over and over. Note that Kheb isn’t a hacking tool – you still need to properly register first, though Kheb could be used to easily create pre-registered releases.
• Helps you learn – if you’re a software developer, studying real-life examples of registry changes will let you find interesting and useful hooks into the system that you can use in your own software.
UPDATE New version 1.1 released.
Notes
• Requires .NET Compact Framework 3.5
• Please read the help file accessible through the menu for usage instructions.
• A complete snapshot of your device can take several minutes, so be patient...
• If you have network mapped storage, you will probably want to exclude the network directory in kheb.ini.
• I’d like to hear about your experience using Kheb - bug reports, feature requests, usability suggestions are all appreciated.
• If you create a release using Kheb, I'd appreciate it if you mention the program. Thank you!
This free software is provided AS IS, and you, its user, assume all risks when using it.
If you find Kheb useful, and want to support my efforts, please consider a small donation:
Changelog
v1.1
• Improved storage card detection algorithm.
• Improved error reporting - info about the exact problematic registry key\file is written to error.log file.
• Improved error handling - Kheb recovers from most IO problems (permissions, unconnected network filesystems, etc) and continues running.
• New icon
• "Generate OEM from diff" item is only enabled if there are existing diffs.
• Latest diff is auto selected
• More entries in kheb.ini
v1.0
• Initial public release
Ideas for a future version
• gui editor for kheb.ini file
• ability to pause\abort Kheb operation
• ability to run in the background with lowered priority
• Separate kheb.ini into 2 files to allow retaining user setting when upgrading version
• Real time monitoring of registry modifications and filesystem changes
• Ability to add description to diffs
• XDA_UC compatible .reg
• Ability to name snapshots, not just diffs
Elemris
Getting error while taking snapshot
I am getting error whil taking snapshot below are errors if that can help you look into issue.
This happend twice on my first run and second run
I do see files in SC\kheb folder for registry and dirlist but look like dirlist is not completed.
An unexpected error has occurred in Kheb.exe.
Select Quit and then restart this program, or select Details for more information.
Click to expand...
Click to collapse
Kheb.exe
DirectoryNotFoundException
at System.IO.Directory.InternalGetFileDirectoryNames(String fullPath, Boolean file)
at System.IO.DirectoryInfo.GetDirectories(String searchPattern)
at Kheb.FileDirList.WalkDirectoryTree(DirectoryInfo root, FileVisitorHandler fileVisitor, List`1 ExcludedPaths)
at Kheb.FileDirList.WalkDirectoryTree(DirectoryInfo root, FileVisitorHandler fileVisitor, List`1 ExcludedPaths)
at Kheb.FileDirList.WalkDirectoryTree(DirectoryInfo root, FileVisitorHandler fileVisitor, List`1 ExcludedPaths)
at Kheb.FileDirList.WalkEntireFileSystem(FileVisitorHandler fileVisitor, List`1 ExcludedPaths)
at Kheb.Kheb.SnapshotDirlist(String outputFilename)
at Kheb.Kheb.TakeSnapshot(String snapshotsName, Boolean doRegistry, Boolean doDirlist)
at Kheb.KhebForm.buttonSnapshot_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at Kheb.Program.Main()
Click to expand...
Click to collapse
v3patel, thank you for the detailed error report, I'm looking into it.
Update: There is some specific directory on your device that Kheb can't handle - perhaps a temporary directory or one that is used by other apps. Posted a new version that should handle the problem, please try it as I can't reproduce the issue. It might be possible to see which directory is causing the problem by looking at where the dirlist file stopped.
also errors right after start
HTC Leo, ROM 1.66.479.2 (76641) WWE
Code:
Kheb.exe
IOException
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
as System.IO.Directory.InternalCreateDirectory(String fullPath, Sting path)
at System.IO.Directory.CreateDirectory(String path)
at Kheb.Kheb.FetchDirectoryListing(String directory)
at Kheb.Kheb.FetchSnapshotList()
at Kheb.KhebForm.RefreshForm()
at Kheb.KhebForm..ctor()
at Kheb.Program.Main()
PS. anyone knows how could I copy the above error report instead of having to retype it from device?
p107r0 said:
also errors right after start
HTC Leo, ROM 1.66.479.2 (76641) WWE
Code:
Kheb.exe
IOException
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
as System.IO.Directory.InternalCreateDirectory(String fullPath, Sting path)
at System.IO.Directory.CreateDirectory(String path)
at Kheb.Kheb.FetchDirectoryListing(String directory)
at Kheb.Kheb.FetchSnapshotList()
at Kheb.KhebForm.RefreshForm()
at Kheb.KhebForm..ctor()
at Kheb.Program.Main()
PS. anyone knows how could I copy the above error report instead of having to retype it from device?
Click to expand...
Click to collapse
This error means Kheb tries to create the "\Storage Card\Kheb\Snapshots" directory and the operation fails due to an IO error.
Could you try creating the directory manually, then running Kheb and telling me what happened? the directories are named:
"\Storage Card\Kheb\snapshots"
"\Storage Card\Khed\diff"
Also is your storage card named "Storage Card" ? Kheb should recognize the storage regardless of name, but it could be a problem.
use http://mymobiler.com/
p107r0 said:
also errors right after start
HTC Leo, ROM 1.66.479.2 (76641) WWE
PS. anyone knows how could I copy the above error report instead of having to retype it from device?
Click to expand...
Click to collapse
if you are using active sync then use my mobiler http://mymobiler.com/
I use it not just copy paste but for screen shot and many other things
Elemris said:
Could you try creating the directory manually, then running Kheb and telling me what happened? the directories are named:
"\Storage Card\Kheb\snapshots"
"\Storage Card\Khed\diff"
Also is your storage card named "Storage Card" ? Kheb should recognize the storage regardless of name, but it could be a problem.
Click to expand...
Click to collapse
Card is indeed named "Storage Card", created both dirs as advised:
Storage Card\Kheb\Snapshots
Storage Card\Kheb\diff
the same error pops up
v3patel said:
use my mobiler
Click to expand...
Click to collapse
thanks!! I have it, played with it, liked it, yet somehow it never occured to me I could use it with some purpose...
Erro again
Elemris said:
v3patel, thank you for the detailed error report, I'm looking into it.
Update: There is some specific directory on your device that Kheb can't handle - perhaps a temporary directory or one that is used by other apps. Posted a new version that should handle the problem, please try it as I can't reproduce the issue. It might be possible to see which directory is causing the problem by looking at where the dirlist file stopped.
Click to expand...
Click to collapse
it errored again
last files in dirlist are
\Windows\eT9DisInput.dll 129197743296870237
\Windows\eT9ime.dll 129197743296870237
Click to expand...
Click to collapse
next file in list is eT9MyWords.exe hopefully this may help.
v3patel, p107r0 - I'm contacting you privately to figure these issues out. It's amazing how different each device can be. Thanks for your help!
Amazing program! Useful to every kind of user; power-user, programer etc..
Thank you very very much,
Keep it up!
Hi,
the snapshot function crashes, error log is attached.
with friendly greet
starbase64
It likes very interesting. Will test for some days and report back here.
So far...
Running on HTC Imagio with stock ROM runs fine.
Installed with no errors to storage card, runs off storage card.
I did a snap shot, then waited and then I did a diff and it very properly found a diff in the sync'ing status.
I like this idea of knowing what's changing in the registry when installing software.
have touch hd..with 6.1 stock rom .....
Kheb v1.0 ..working very, very smooth ..no errors
this is really a very" usefull tool ".... a must have ?
thank you
willcor
I could do the Snapshots & Diff but Help produces the following error:
Code:
Kheb.exe
Win32Exception
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Kheb.KhebForm.menuItemHelp_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at Kheb.Program.Main()
Kheb is installed on SDCard.
Really nice job! I already have SK Tracker, but I like the way this tool dumps the registry and the full device directory with each snapshot. The OEM option is also really handy-it's great having the reg keys dumped directly to one file.
illi said:
I could do the Snapshots & Diff but Help produces the following error:
Code:
Kheb.exe
Win32Exception
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Kheb.KhebForm.menuItemHelp_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at Kheb.Program.Main()
Kheb is installed on SDCard.
Click to expand...
Click to collapse
Thanks for the report. "Help" opens the kheb.html file in your browser. If that doesn't work on your device, you can just look at the kheb.html manually, it's in the Program Files\Kheb directory.
Is it possible you don't have a browser installed? Or perhaps no program is defined to handle html files?
starbase64 said:
Hi,
the snapshot function crashes, error log is attached.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, the error means a specific registry key is causing problems. I'll look into it. Meanwhile, your can try the snapshot and diff for the file system only, by unchecking "Registry" in the "Storage Sites" menu.
Elemris said:
Thanks for the report. "Help" opens the kheb.html file in your browser. If that doesn't work on your device, you can just look at the kheb.html manually, it's in the Program Files\Kheb directory.
Is it possible you don't have a browser installed? Or perhaps no program is defined to handle html files?
Click to expand...
Click to collapse
I have IE in ROM but the default browser, Opera Mobile 10, is installed on SDCard. I think there is a problem with my ROM; clicking the html files returns an error saying that there is no application associated... I still get an error even if I force open by these two browsers. So it is not your apps problem.
Thank you for sharing.
Suggestion for .reg export file
This will come in handy for me (and others) who use the XDA_UC ability of custom ROMs. Instead of the current outputted .reg file where at the top of the file it says 'REGEDIT4' It would be beneficial to put it in the XDA_UC form with 'Windows Registry Editor Version 5.00' and 2 blank lines at the end (So it can be read from the file after flashing) Just a thought though. Great app!

Unable to Install Droid Explorer, need help!

I already installed "Android SDK" on my windows7 (32 bit) computer. Today i try to install "DroidExplorer.0.8.8.3.x86".
When i try to install it, its installation process request browse correct "SDK Folder". Then i select "Setup android SDK for me". After that i display following error message.
Please help me to install this tool on my PC.
Thanks!
Error message that i receive!
System.UnauthorizedAccessException: Access to the path 'adb.exe' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at DroidExplorer.Bootstrapper.Panels.DownloadPanel.SdkPathCleanup() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 251
at DroidExplorer.Bootstrapper.Panels.DownloadPanel.RunSetup() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 181
Click to expand...
Click to collapse
Thanks!
After i end, "adb.exe" process using windows task manager, installation process work, and it automatically detect "SDK Folder", but now i receive following error.
System.InvalidOperationException: Cannot start service DroidExplorerService on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at System.ServiceProcess.ServiceController.Start()
at DroidExplorer.Bootstrapper.Panels.StartServicePanel.StartService() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\StartServicePanel.cs:line 53
Click to expand...
Click to collapse
hhhhh same cases... anyone help us please... -_-"
i have ADB already installed & also have android SDK, but after installing DroidExplorer.0.8.8.3.x86 , when its asks for sdk path ,after i browse & locate, it shows me "droid explorer android sdk invalid" error ... any other way to install it ???
No, this program is pretty much worthless and hasn't been supported for years.

Categories

Resources